mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-23 19:21:29 +00:00
Delete fields in parser_cleanup
This commit is contained in:
parent
e2faedcca8
commit
483ce89d78
1 changed files with 4 additions and 0 deletions
4
parser.c
4
parser.c
|
@ -2248,6 +2248,10 @@ void parser_cleanup()
|
|||
for (i = 0; i < parser->imm_float_count; ++i) {
|
||||
ast_delete(parser->imm_float[i]);
|
||||
}
|
||||
for (i = 0; i < parser->fields_count; ++i) {
|
||||
ast_delete(parser->fields[i].var);
|
||||
mem_d(parser->fields[i].name);
|
||||
}
|
||||
for (i = 0; i < parser->globals_count; ++i) {
|
||||
ast_delete(parser->globals[i].var);
|
||||
mem_d(parser->globals[i].name);
|
||||
|
|
Loading…
Reference in a new issue