mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
Fix possible bug
This commit is contained in:
parent
c62d88cb57
commit
95172861f5
1 changed files with 2 additions and 2 deletions
4
ftepp.c
4
ftepp.c
|
@ -471,7 +471,7 @@ static bool ftepp_define_body(ftepp_t *ftepp, ppmacro *macro)
|
|||
|
||||
static bool ftepp_define(ftepp_t *ftepp)
|
||||
{
|
||||
ppmacro *macro;
|
||||
ppmacro *macro = NULL;
|
||||
size_t l = ftepp_ctx(ftepp).line;
|
||||
|
||||
(void)ftepp_next(ftepp);
|
||||
|
@ -520,7 +520,7 @@ static bool ftepp_define(ftepp_t *ftepp)
|
|||
return true;
|
||||
|
||||
cleanup_false:
|
||||
ppmacro_delete(macro);
|
||||
if (macro) ppmacro_delete(macro);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue