Browse Source

Memory leak in case of some grammatical errors

test
Michael Uleysky 9 years ago
parent
commit
bd9deb8734
  1. 2
      src/parser/grammatical.y

2
src/parser/grammatical.y

@ -65,7 +65,7 @@ inline void conferror(YYLTYPE *locp, yyscan_t sc, const char * str)
%type <ob> pair %type <ob> pair
%type <ob> list %type <ob> list
%destructor {} REAL INTEGER BOOL STRING %destructor {} REAL INTEGER BOOL
%destructor {delete $$;} <*> %destructor {delete $$;} <*>
%% %%

Loading…
Cancel
Save