Marcus Meissner : winedump: Added a missing free().
Module: wine Branch: master Commit: 82026ecd652d179f842baa7d362c024241c18bfa URL: http://source.winehq.org/git/wine.git/?a=commit;h=82026ecd652d179f842baa7d36... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Fri Feb 16 17:28:59 2007 +0100 winedump: Added a missing free(). --- tools/winedump/msmangle.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/tools/winedump/msmangle.c b/tools/winedump/msmangle.c index 574a3b5..fc3f12b 100644 --- a/tools/winedump/msmangle.c +++ b/tools/winedump/msmangle.c @@ -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;
participants (1)
-
Alexandre Julliard