Cleanup bfd_close() cleanups.
[deliverable/binutils-gdb.git] / gdb / remote-udi.c
index 12590f88111097fbcf6f796df9ba3ce6af56f113..9a377a071a34f5a0ad383a463cbce518ae42c2b8 100644 (file)
@@ -1162,7 +1162,7 @@ download (load_arg_string, from_tty)
   /* FIXME: should be checking for errors from bfd_close (for one thing,
      on error it does not free all the storage associated with the
      bfd).  */
-  make_cleanup ((make_cleanup_func) bfd_close, pbfd);
+  make_cleanup_bfd_close (pbfd);
 
   QUIT;
   immediate_quit++;
This page took 0.023797 seconds and 4 git commands to generate.