PATCH: Fix a memory leak in readelf.c
H. J. Lu
hjl@lucon.org
Tue Oct 19 19:29:00 GMT 2004
More information about the Binutils mailing list
Tue Oct 19 19:29:00 GMT 2004
- Previous message (by thread): Compilation error of binutils v2.15.92.0.2 on solaris 8
- Next message (by thread): PATCH: Report section and and file for ia64 relocation overflow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I will check this patch shortly. H.J. ---- 2004-10-19 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (process_section_groups): Free symtab after use. --- readelf.c.big 2004-10-13 10:06:01.000000000 -0700 +++ readelf.c 2004-10-19 12:23:13.113362251 -0700 @@ -4034,6 +4034,8 @@ process_section_groups (FILE *file) group->root = g; } + if (symtab) + free (symtab); if (strtab) free (strtab); if (start)
- Previous message (by thread): Compilation error of binutils v2.15.92.0.2 on solaris 8
- Next message (by thread): PATCH: Report section and and file for ia64 relocation overflow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list