2001-02-27 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / bfd / aoutx.h
index 94a46b08689cd3f6c06a9b7f80f74fad07388bd6..e5cc394ca14b79f05323c582c51817b642ad6d11 100644 (file)
@@ -2906,7 +2906,8 @@ NAME(aout,bfd_free_cached_info) (abfd)
 {
   asection *o;
 
-  if (bfd_get_format (abfd) != bfd_object)
+  if (bfd_get_format (abfd) != bfd_object
+      || abfd->tdata.aout_data == NULL)
     return true;
 
 #define BFCI_FREE(x) if (x != NULL) { free (x); x = NULL; }
This page took 0.02558 seconds and 4 git commands to generate.