This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix memory leak in list_available_thread_groups
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 23 Nov 2017 22:15:41 -0500
- Subject: [binutils-gdb] Fix memory leak in list_available_thread_groups
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 00ea2e2ad34edd202f58d9a1eea2081f0905f9f2 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 00ea2e2ad34edd202f58d9a1eea2081f0905f9f2
Fix memory leak in list_available_thread_groups
Commit
C++ify osdata
479f8de1b3b7e69ca8d557bbe9d843c7d1bc89c5
introduced a memory leak. We allocate std::vectors and insert them in a
map, but never free them. Instead, the map value type can be
std::vector objects directly.
gdb/ChangeLog:
* mi/mi-main.c (list_available_thread_groups): Change map value
type to std::vector.