Fix a crash... if (!x) delete(x) yeah right...

This commit is contained in:
Wolfgang Bumiller 2013-01-15 10:50:14 +01:00
parent 73c86127f7
commit b208c1a49f

View file

@ -4817,7 +4817,6 @@ static ast_value *parse_typename(parser_t *parser, ast_value **storebase, ast_va
if (!var) {
if (name)
mem_d((void*)name);
ast_delete(var);
return NULL;
}
}