mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-20 18:32:01 +00:00
clear lex->modelname
This commit is contained in:
parent
d5e01ba904
commit
a67110410b
1 changed files with 3 additions and 0 deletions
3
lexer.c
3
lexer.c
|
@ -155,6 +155,9 @@ void lex_close(lex_file *lex)
|
|||
mem_d(lex->frames[i].name);
|
||||
MEM_VECTOR_CLEAR(lex, frames);
|
||||
|
||||
if (lex->modelname)
|
||||
mem_d(lex->modelname);
|
||||
|
||||
if (lex->file)
|
||||
fclose(lex->file);
|
||||
if (lex->tok)
|
||||
|
|
Loading…
Reference in a new issue