Fix possible bug

This commit is contained in:
Dale Weiler 2013-04-13 18:04:07 +00:00
parent c62d88cb57
commit 95172861f5

View file

@ -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;
}