aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-14 17:37:53 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-14 17:37:53 +0000
commit497b9b328d7a66641e1d0947d611959e5724c34b (patch)
treea77496d6c5b8e1147de4e7ca2ae3a4af535c736c
parent2021ad3a8c483c6dbd58652c9d72777712472fe7 (diff)
downloadgdb-497b9b328d7a66641e1d0947d611959e5724c34b.zip
gdb-497b9b328d7a66641e1d0947d611959e5724c34b.tar.gz
gdb-497b9b328d7a66641e1d0947d611959e5724c34b.tar.bz2
2011-03-07 Michael Snyder <msnyder@vmware.com>
* nm.c (display_rel_file): Free symsizes.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/nm.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2e50ba4..3f33f80 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-14 Michael Snyder <msnyder@vmware.com>
+
+ * nm.c (display_rel_file): Free symsizes.
+
2011-03-10 Nick Clifton <nickc@redhat.com>
* readelf.c (get_machine_name): Update EM_V850 entry.
diff --git a/binutils/nm.c b/binutils/nm.c
index 3b75edf..2c099aa 100644
--- a/binutils/nm.c
+++ b/binutils/nm.c
@@ -1101,6 +1101,7 @@ display_rel_file (bfd *abfd, bfd *archive_bfd)
print_size_symbols (abfd, dynamic, symsizes, symcount, archive_bfd);
free (minisyms);
+ free (symsizes);
}
static void