* readelf.c (process_symbol_table): Set gnubuckets to NULL after
freeing it and before returning.
This commit is contained in:
parent
8c7d38e8f0
commit
f64fddf13a
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
||||
|
||||
* readelf.c (process_symbol_table): Don't return early if
|
||||
|
|
|
@ -7289,10 +7289,10 @@ process_symbol_table (FILE * file)
|
|||
if (gnuchains == NULL)
|
||||
{
|
||||
free (gnubuckets);
|
||||
if (do_using_dynamic)
|
||||
return 0;
|
||||
gnubuckets = NULL;
|
||||
ngnubuckets = 0;
|
||||
if (do_using_dynamic)
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue