Commit 82026ecd authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winedump: Added a missing free().

parent f4d7b444
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment