aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-04-12 16:49:31 +0100
committerPedro Alves <palves@redhat.com>2016-04-12 16:59:42 +0100
commit80dbc9fdc7a7929c16f58852e45196a32877b013 (patch)
treee064b814913a960bc7a1ee3034cc4af6db39eaaa /gdb/ChangeLog
parentc5ac15402a894e87a118526a066880f596b3c78d (diff)
downloadgdb-80dbc9fdc7a7929c16f58852e45196a32877b013.zip
gdb-80dbc9fdc7a7929c16f58852e45196a32877b013.tar.gz
gdb-80dbc9fdc7a7929c16f58852e45196a32877b013.tar.bz2
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 <palves@redhat.com> * utils.c (defaulted_query, prompt_for_continue): Free temporary strings with cleanups, instead of xfree.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
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 <palves@redhat.com>
+ * utils.c (defaulted_query, prompt_for_continue): Free temporary
+ strings with cleanups, instead of xfree.
+
+2016-04-12 Pedro Alves <palves@redhat.com>
+
* utils.c (vwarning, internal_vproblem): Use
make_cleanup_restore_target_terminal and
target_terminal_ours_for_output.