mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 12:09:49 +00:00
* readelf.c (process_object): Free dynamic_section after use.
This commit is contained in:
parent
4694da0147
commit
293c573efd
@ -1,3 +1,7 @@
|
||||
2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* readelf.c (process_object): Free dynamic_section after use.
|
||||
|
||||
2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR binutils/12408
|
||||
|
@ -12405,6 +12405,12 @@ process_object (char * file_name, FILE * file)
|
||||
dynamic_syminfo = NULL;
|
||||
}
|
||||
|
||||
if (dynamic_section)
|
||||
{
|
||||
free (dynamic_section);
|
||||
dynamic_section = NULL;
|
||||
}
|
||||
|
||||
if (section_headers_groups)
|
||||
{
|
||||
free (section_headers_groups);
|
||||
|
Loading…
Reference in New Issue
Block a user