* readelf.c (process_symbol_table): Set gnubuckets to NULL after
freeing it and before returning.
This commit is contained in:
parent
8c7d38e8f0
commit
f64fddf13a
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue