From: Wolfgang (Blub) Bumiller Date: Sat, 18 Aug 2012 13:55:50 +0000 (+0200) Subject: free parser->fields and parser->locals at parser_cleanup X-Git-Tag: 0.1-rc1~220 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=20453212962819ccdb70f9dd39126c13c3d1f484;p=xonotic%2Fgmqcc.git free parser->fields and parser->locals at parser_cleanup --- diff --git a/parser.c b/parser.c index fc0cbd0..f5502f1 100644 --- a/parser.c +++ b/parser.c @@ -2257,6 +2257,8 @@ void parser_cleanup() mem_d(parser->globals[i].name); } MEM_VECTOR_CLEAR(parser, globals); + MEM_VECTOR_CLEAR(parser, fields); + MEM_VECTOR_CLEAR(parser, locals); mem_d(parser); }