forked from Imagelibrary/binutils-gdb
2011-03-07 Michael Snyder <msnyder@vmware.com>
* readelf.c (process_version_sections): Free symbols.
This commit is contained in:
@@ -8053,7 +8053,10 @@ process_version_sections (FILE * file)
|
||||
string_sec->sh_size,
|
||||
_("version string table"));
|
||||
if (!strtab)
|
||||
break;
|
||||
{
|
||||
free (symbols);
|
||||
break;
|
||||
}
|
||||
|
||||
printf (_("\nVersion symbols section '%s' contains %d entries:\n"),
|
||||
SECTION_NAME (section), total);
|
||||
@@ -8073,6 +8076,7 @@ process_version_sections (FILE * file)
|
||||
if (!edata)
|
||||
{
|
||||
free (strtab);
|
||||
free (symbols);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user