summaryrefslogtreecommitdiff
path: root/src/include/parser.h
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-08 15:39:19 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-08 15:39:19 -0800
commit19367a27472a06634424e56c1eb21e4f53da4e9e (patch)
treefc58a08d36d451bdd1e7143a7358ac8a374355f7 /src/include/parser.h
parent87d82ead963c24d84a4f6e417b96b9bf73d132bb (diff)
fixed invalid read; some memory leakage fixed but not completely
Diffstat (limited to 'src/include/parser.h')
-rw-r--r--src/include/parser.h2
1 files changed, 2 insertions, 0 deletions
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