From: Wolfgang (Blub) Bumiller Date: Sat, 18 Aug 2012 13:59:29 +0000 (+0200) Subject: clear all the remaining vectors in the parser X-Git-Tag: 0.1-rc1~217 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d5e01ba90494dc25f2b8ad5fb4c44cfb3f8a815b;p=xonotic%2Fgmqcc.git clear all the remaining vectors in the parser --- diff --git a/parser.c b/parser.c index f5502f1..24be6ec 100644 --- a/parser.c +++ b/parser.c @@ -2256,6 +2256,10 @@ void parser_cleanup() ast_delete(parser->globals[i].var); mem_d(parser->globals[i].name); } + MEM_VECTOR_CLEAR(parser, functions); + MEM_VECTOR_CLEAR(parser, imm_vector); + MEM_VECTOR_CLEAR(parser, imm_string); + MEM_VECTOR_CLEAR(parser, imm_float); MEM_VECTOR_CLEAR(parser, globals); MEM_VECTOR_CLEAR(parser, fields); MEM_VECTOR_CLEAR(parser, locals);