winedump: Added a missing free().

This commit is contained in:
Marcus Meissner 2007-02-16 17:28:59 +01:00 committed by Alexandre Julliard
parent f4d7b4444c
commit 82026ecd65

View file

@ -349,8 +349,10 @@ int symbol_demangle (parsed_symbol *sym)
else
{
INIT_CT (ct);
if (!demangle_datatype (&name, &ct, sym))
if (!demangle_datatype (&name, &ct, sym)) {
free (function_name);
return -1;
}
sym->return_text = ct.expression;
sym->return_type = get_type_constant(ct.dest_type, ct.flags);
ct.expression = NULL;