mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
2011-03-07 Michael Snyder <msnyder@vmware.com>
* readelf.c (process_version_sections): Free symbols.
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
2011-03-14 Michael Snyder <msnyder@vmware.com>
|
2011-03-14 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* readelf.c (process_version_sections): Free symbols.
|
||||||
|
|
||||||
* nm.c (display_rel_file): Free symsizes.
|
* nm.c (display_rel_file): Free symsizes.
|
||||||
|
|
||||||
2011-03-10 Nick Clifton <nickc@redhat.com>
|
2011-03-10 Nick Clifton <nickc@redhat.com>
|
||||||
|
@ -8053,7 +8053,10 @@ process_version_sections (FILE * file)
|
|||||||
string_sec->sh_size,
|
string_sec->sh_size,
|
||||||
_("version string table"));
|
_("version string table"));
|
||||||
if (!strtab)
|
if (!strtab)
|
||||||
break;
|
{
|
||||||
|
free (symbols);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
printf (_("\nVersion symbols section '%s' contains %d entries:\n"),
|
printf (_("\nVersion symbols section '%s' contains %d entries:\n"),
|
||||||
SECTION_NAME (section), total);
|
SECTION_NAME (section), total);
|
||||||
@ -8073,6 +8076,7 @@ process_version_sections (FILE * file)
|
|||||||
if (!edata)
|
if (!edata)
|
||||||
{
|
{
|
||||||
free (strtab);
|
free (strtab);
|
||||||
|
free (symbols);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user