(tg_class_method_variant): Likewise.
(tg_class_static_method_variant): Likewise.
* stabs.c (parse_stab_enum_type): Fix memory leaks.
- (parse_stab_struct_type): Ditto.
- (parse_stab_struct_fields): Ditto.
- (parse_stab_one_struct_field): Ditto.
- (parse_stab_members): Ditto.
- (stab_demangle_qualified): Ditto.
+ (parse_stab_struct_type): Likewise.
+ (parse_stab_struct_fields): Likewise.
+ (parse_stab_one_struct_field): Likewise.
+ (parse_stab_members): Likewise.
+ (stab_demangle_qualified): Likewise.
+ * objdump.c (dump_reloc_set): Free malloced memory.
2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
/* objdump.c -- dump information about an object file.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+ 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
This file is part of GNU Binutils.
printf ("\n");
}
+
+ if (last_filename != NULL)
+ free (last_filename);
+ if (last_functionname != NULL)
+ free (last_functionname);
}
static void