parse: lex: fix memory leaks
This commit is contained in:
@@ -107,7 +107,7 @@ extern struct bshell_lex_state *lex_state_push(
|
||||
struct bshell_lex_ctx *ctx,
|
||||
enum bshell_lex_state_id state_type,
|
||||
enum state_flags flags);
|
||||
extern void lex_state_pop(struct bshell_lex_ctx *ctx);
|
||||
extern void lex_state_pop(struct bshell_lex_ctx *ctx, bool no_preserve_root);
|
||||
extern struct bshell_lex_state *lex_state_get(struct bshell_lex_ctx *ctx);
|
||||
extern void lex_state_change(
|
||||
struct bshell_lex_ctx *ctx,
|
||||
|
||||
Reference in New Issue
Block a user