forked from Imagelibrary/binutils-gdb
* top.c (quit_target): Use all_cleanups.
* main.c (captured_command_loop): Use all_cleanups. * exceptions.c (throw_exception): Use all_cleanups.
This commit is contained in:
@@ -1297,8 +1297,8 @@ quit_target (void *arg)
|
||||
if (write_history_p && history_filename)
|
||||
write_history (history_filename);
|
||||
|
||||
do_final_cleanups (ALL_CLEANUPS); /* Do any final cleanups before
|
||||
exiting. */
|
||||
do_final_cleanups (all_cleanups ()); /* Do any final cleanups before
|
||||
exiting. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user