* readelf.c (process_gnu_liblist): Stop memory leak.
This commit is contained in:
parent
3a294fa726
commit
2842702f2f
@ -1,3 +1,7 @@
|
|||||||
|
2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
|
||||||
|
|
||||||
|
* readelf.c (process_gnu_liblist): Stop memory leak.
|
||||||
|
|
||||||
2011-03-29 Alan Modra <amodra@gmail.com>
|
2011-03-29 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* coffdump.c: Include bfd_stdint.h
|
* coffdump.c: Include bfd_stdint.h
|
||||||
|
@ -11846,6 +11846,7 @@ process_gnu_liblist (FILE * file)
|
|||||||
|| section->sh_entsize != sizeof (Elf32_External_Lib))
|
|| section->sh_entsize != sizeof (Elf32_External_Lib))
|
||||||
{
|
{
|
||||||
free (elib);
|
free (elib);
|
||||||
|
free (strtab);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11887,6 +11888,7 @@ process_gnu_liblist (FILE * file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
free (elib);
|
free (elib);
|
||||||
|
free (strtab);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user