aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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