From 80dbc9fdc7a7929c16f58852e45196a32877b013 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 12 Apr 2016 16:49:31 +0100 Subject: Add missing cleanups to defaulted_query and prompt_for_continue Some of the error paths in these functions leak. gdb/ChangeLog: 2016-04-12 Pedro Alves * utils.c (defaulted_query, prompt_for_continue): Free temporary strings with cleanups, instead of xfree. --- gdb/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 595a43c..83235c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2016-04-12 Pedro Alves + * utils.c (defaulted_query, prompt_for_continue): Free temporary + strings with cleanups, instead of xfree. + +2016-04-12 Pedro Alves + * utils.c (vwarning, internal_vproblem): Use make_cleanup_restore_target_terminal and target_terminal_ours_for_output. -- cgit v1.1