Add support for FreeBSD/i386 ELF.
[deliverable/binutils-gdb.git] / gdb / bcache.c
index 766aff9c3bb8be82ef315559f549e74741e06b41..96c01ba4655b1ab5a0e5509469fc8bb78e6d6870 100644 (file)
@@ -189,7 +189,8 @@ void
 free_bcache (struct bcache *bcache)
 {
   obstack_free (&bcache->cache, 0);
-  free (bcache->bucket);
+  if (bcache->bucket)
+    free (bcache->bucket);
 
   /* This isn't necessary, but at least the bcache is always in a
      consistent state.  */
This page took 0.023513 seconds and 4 git commands to generate.