This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[RFA] objdump.c (dump_reloc_set): Free malloced memory.
- From: Michael Snyder <msnyder at vmware dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 08 Mar 2011 14:52:56 -0800
- Subject: [RFA] objdump.c (dump_reloc_set): Free malloced memory.
OK?
2011-03-08 Michael Snyder <msnyder@vmware.com>
* objdump.c (dump_reloc_set): Free malloced memory.
Index: objdump.c
===================================================================
RCS file: /cvs/src/src/binutils/objdump.c,v
retrieving revision 1.184
diff -u -p -r1.184 objdump.c
--- objdump.c 3 Mar 2011 09:38:36 -0000 1.184
+++ objdump.c 8 Mar 2011 22:49:15 -0000
@@ -2907,6 +2907,8 @@ dump_reloc_set (bfd *abfd, asection *sec
printf ("\n");
}
+ free (last_filename);
+ free (last_functionname);
}
static void