diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-11-23 21:56:19 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2017-11-23 21:56:19 -0500 |
commit | 00ea2e2ad34edd202f58d9a1eea2081f0905f9f2 (patch) | |
tree | 5a412c2ee4cf32b2a409559efb215943aa7d997b /opcodes | |
parent | 7e8006d14c544a069619dc2bb2c9d2d2b7fd99a6 (diff) | |
download | gdb-00ea2e2ad34edd202f58d9a1eea2081f0905f9f2.zip gdb-00ea2e2ad34edd202f58d9a1eea2081f0905f9f2.tar.gz gdb-00ea2e2ad34edd202f58d9a1eea2081f0905f9f2.tar.bz2 |
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.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions