aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 6a4a6e8..9b4f237 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -11846,6 +11846,7 @@ process_gnu_liblist (FILE * file)
|| section->sh_entsize != sizeof (Elf32_External_Lib))
{
free (elib);
+ free (strtab);
break;
}
@@ -11887,6 +11888,7 @@ process_gnu_liblist (FILE * file)
}
free (elib);
+ free (strtab);
}
}