mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-27 05:50:43 +00:00
* 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>
|
||||
|
||||
* 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…
Reference in New Issue
Block a user