mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
winedump: Added a missing free().
This commit is contained in:
parent
f4d7b4444c
commit
82026ecd65
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue