mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 17:31:13 +08:00
* readelf.c (process_symbol_table): Set gnubuckets to NULL after
freeing it and before returning.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2009-06-12 John Reiser <jreiser@BitWagon.com>
|
||||||
|
|
||||||
|
* readelf.c (process_symbol_table): Set gnubuckets to NULL after
|
||||||
|
freeing it and before returning.
|
||||||
|
|
||||||
2009-06-12 Jakub Jelinek <jakub@redhat.com>
|
2009-06-12 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* readelf.c (process_symbol_table): Don't return early if
|
* readelf.c (process_symbol_table): Don't return early if
|
||||||
|
@ -7289,10 +7289,10 @@ process_symbol_table (FILE * file)
|
|||||||
if (gnuchains == NULL)
|
if (gnuchains == NULL)
|
||||||
{
|
{
|
||||||
free (gnubuckets);
|
free (gnubuckets);
|
||||||
if (do_using_dynamic)
|
|
||||||
return 0;
|
|
||||||
gnubuckets = NULL;
|
gnubuckets = NULL;
|
||||||
ngnubuckets = 0;
|
ngnubuckets = 0;
|
||||||
|
if (do_using_dynamic)
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user