From 5ab0c1a19608d2689539b687e92ed20da6c1c8e2 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 19 Oct 2004 19:30:33 +0000 Subject: [PATCH] 2004-10-19 H.J. Lu * readelf.c (process_section_groups): Free symtab after use. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 9101bf56fa0..39f96c69e83 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2004-10-19 H.J. Lu + + * readelf.c (process_section_groups): Free symtab after use. + 2004-10-18 Tommy Pettersson Nick Clifton diff --git a/binutils/readelf.c b/binutils/readelf.c index 6f82f83f874..a65c82ea3ed 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -4034,6 +4034,8 @@ process_section_groups (FILE *file) group->root = g; } + if (symtab) + free (symtab); if (strtab) free (strtab); if (start) -- 2.30.2