From bd9deb8734693f8c89644c394518a978616ea6fc Mon Sep 17 00:00:00 2001 From: Michael Uleysky Date: Fri, 11 Sep 2015 00:01:25 +1000 Subject: [PATCH] Memory leak in case of some grammatical errors --- src/parser/grammatical.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/grammatical.y b/src/parser/grammatical.y index e9cc152..0c933bf 100644 --- a/src/parser/grammatical.y +++ b/src/parser/grammatical.y @@ -65,7 +65,7 @@ inline void conferror(YYLTYPE *locp, yyscan_t sc, const char * str) %type pair %type list -%destructor {} REAL INTEGER BOOL STRING +%destructor {} REAL INTEGER BOOL %destructor {delete $$;} <*> %%