forked from Imagelibrary/binutils-gdb
2007-08-08 Michael Snyder <msnyder@access-company.com>
* cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak.
This commit is contained in:
@@ -757,6 +757,7 @@ cp_print_hpacc_virtual_table_entries (struct type *type, int *vfuncs,
|
||||
/* pai: (temp) FIXME Maybe this should be DMGL_ANSI */
|
||||
vf_name = cplus_demangle (field_physname, DMGL_ARM);
|
||||
fprintf_filtered (stream, " %s", vf_name);
|
||||
xfree (vf_name);
|
||||
if (--(*vfuncs) > 0)
|
||||
fputs_filtered (", ", stream);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user