This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Add missing cleanups to defaulted_query and prompt_for_continue
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 12 Apr 2016 17:25:17 -0400
- Subject: [binutils-gdb] Add missing cleanups to defaulted_query and prompt_for_continue
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 80dbc9fdc7a7929c16f58852e45196a32877b013 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 80dbc9fdc7a7929c16f58852e45196a32877b013
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.