This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Call _close_and_cleanup in bfd_close_all_done


OK for master?

H.J.
---
	PR binutils/22032
	* opncls.c (bfd_close_all_done): Call _close_and_cleanup.
---
 bfd/opncls.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bfd/opncls.c b/bfd/opncls.c
index 913341c9ff..b99ae728c0 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -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);
 
-- 
2.13.5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]