* readelf.c (process_version_sections): Free symbols.
2011-03-14 Michael Snyder <msnyder@vmware.com>
+ * readelf.c (process_version_sections): Free symbols.
+
* nm.c (display_rel_file): Free symsizes.
2011-03-10 Nick Clifton <nickc@redhat.com>
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);
if (!edata)
{
free (strtab);
+ free (symbols);
break;
}