diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-16 02:43:39 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-16 02:43:39 +0000 |
commit | 7717ec508f3e4cd91629e814a9d4ab9d71899865 (patch) | |
tree | 1872008a68bef7069cefc74db2642e517b7c4bf3 /gdb/symfile.c | |
parent | 3bb7ba690ab88ffd735bf74e0915f85b6f15821b (diff) | |
download | gdb-7717ec508f3e4cd91629e814a9d4ab9d71899865.tar.gz |
Cleanup bfd_close() cleanups.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index b01fe33f712..8fc4fe7c962 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1230,7 +1230,7 @@ generic_load (char *args, int 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, loadfile_bfd); + make_cleanup_bfd_close (loadfile_bfd); if (!bfd_check_format (loadfile_bfd, bfd_object)) { |