* 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:
Tom Tromey
2012-04-19 20:18:26 +00:00
parent c971b7fa72
commit 6328eb3805
4 changed files with 10 additions and 4 deletions

View File

@@ -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;
}