From 19367a27472a06634424e56c1eb21e4f53da4e9e Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sun, 8 Jan 2023 15:39:19 -0800 Subject: fixed invalid read; some memory leakage fixed but not completely --- src/include/parser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/parser.h') diff --git a/src/include/parser.h b/src/include/parser.h index 7b26696..d159646 100644 --- a/src/include/parser.h +++ b/src/include/parser.h @@ -45,4 +45,6 @@ void parse_bind(parser_t *parser); ast_t *parse_expr(parser_t *parser); ast_t *parse_all(parser_t *parser); + +void parser_free(parser_t *parser); #endif -- cgit