diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-18 14:30:25 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-21 09:38:36 -0600 |
commit | c0c9f665d9d4cdcef59cc7951396d843a7ea6a48 (patch) | |
tree | 72342cb10fe1ac53937b0e68bf7cb7ffea3ffc46 /opcodes/ChangeLog-9899 | |
parent | 22ca247e9e29c11ccfc99b5d187c7dc925608b78 (diff) | |
download | gdb-c0c9f665d9d4cdcef59cc7951396d843a7ea6a48.zip gdb-c0c9f665d9d4cdcef59cc7951396d843a7ea6a48.tar.gz gdb-c0c9f665d9d4cdcef59cc7951396d843a7ea6a48.tar.bz2 |
Use std::string in reread_symbols
This removes a cleanup from reread_symbols by using std::string. This
fixes a memory leak, because this cleanup is ordinarily discarded, not
run.
Tested by the buildbot.
ChangeLog
2018-05-21 Tom Tromey <tom@tromey.com>
* symfile.c (reread_symbols): Use std::string for original_name.
Diffstat (limited to 'opcodes/ChangeLog-9899')
0 files changed, 0 insertions, 0 deletions