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/remote.c | |
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/remote.c')
0 files changed, 0 insertions, 0 deletions