aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index fb6f801..80af9a2 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -12260,16 +12260,24 @@ process_symbol_table (Filedata * filedata)
free (lengths);
}
free (gnubuckets);
+ gnubuckets = NULL;
free (gnuchains);
+ gnuchains = NULL;
free (mipsxlat);
+ mipsxlat = NULL;
return TRUE;
err_out:
free (gnubuckets);
+ gnubuckets = NULL;
free (gnuchains);
+ gnuchains = NULL;
free (mipsxlat);
+ mipsxlat = NULL;
free (buckets);
+ buckets = NULL;
free (chains);
+ chains = NULL;
return FALSE;
}