mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
clear all the remaining vectors in the parser
This commit is contained in:
parent
9ed976d304
commit
d5e01ba904
1 changed files with 4 additions and 0 deletions
4
parser.c
4
parser.c
|
@ -2256,6 +2256,10 @@ void parser_cleanup()
|
||||||
ast_delete(parser->globals[i].var);
|
ast_delete(parser->globals[i].var);
|
||||||
mem_d(parser->globals[i].name);
|
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, globals);
|
||||||
MEM_VECTOR_CLEAR(parser, fields);
|
MEM_VECTOR_CLEAR(parser, fields);
|
||||||
MEM_VECTOR_CLEAR(parser, locals);
|
MEM_VECTOR_CLEAR(parser, locals);
|
||||||
|
|
Loading…
Reference in a new issue