mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-22 02:31:28 +00:00
free parser->fields and parser->locals at parser_cleanup
This commit is contained in:
parent
9eede6d303
commit
2045321296
1 changed files with 2 additions and 0 deletions
2
parser.c
2
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue