mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
* xcoffexec.c (exec_close): Don't close exec_bfd twice.
This commit is contained in:
parent
b60b2e3ec6
commit
c161de74a5
@ -1,5 +1,7 @@
|
||||
Thu Mar 18 11:57:49 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
|
||||
* xcoffexec.c (exec_close): Don't close exec_bfd twice.
|
||||
|
||||
* xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
|
||||
|
||||
Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
|
@ -103,10 +103,9 @@ exec_close(quitting)
|
||||
|
||||
vmap = 0;
|
||||
|
||||
if (exec_bfd) {
|
||||
bfd_close (exec_bfd);
|
||||
exec_bfd = NULL;
|
||||
}
|
||||
/* exec_bfd was already closed (the exec file has a vmap entry). */
|
||||
exec_bfd = NULL;
|
||||
|
||||
if (exec_ops.to_sections) {
|
||||
free (exec_ops.to_sections);
|
||||
exec_ops.to_sections = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user