Call _close_and_cleanup in bfd_close_all_done
[deliverable/binutils-gdb.git] / bfd / opncls.c
index 913341c9ffc371fb2f22cd3ea37b359d33ce110e..b99ae728c07b48ff356dc51f782cbb426f979fd3 100644 (file)
@@ -776,6 +776,9 @@ bfd_close_all_done (bfd *abfd)
 
   ret = bfd_cache_close (abfd);
 
+  if (! BFD_SEND (abfd, _close_and_cleanup, (abfd)))
+    return FALSE;
+
   if (ret)
     _maybe_make_executable (abfd);
 
This page took 0.02371 seconds and 4 git commands to generate.