diff options
author | Pedro Alves <palves@redhat.com> | 2016-04-12 16:49:31 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-04-12 16:59:42 +0100 |
commit | 80dbc9fdc7a7929c16f58852e45196a32877b013 (patch) | |
tree | e064b814913a960bc7a1ee3034cc4af6db39eaaa /gdb/ChangeLog | |
parent | c5ac15402a894e87a118526a066880f596b3c78d (diff) | |
download | gdb-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/ChangeLog | 5 |
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. |