aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cris-opc.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-18 14:30:25 -0600
committerTom Tromey <tom@tromey.com>2018-05-21 09:38:36 -0600
commitc0c9f665d9d4cdcef59cc7951396d843a7ea6a48 (patch)
tree72342cb10fe1ac53937b0e68bf7cb7ffea3ffc46 /opcodes/cris-opc.c
parent22ca247e9e29c11ccfc99b5d187c7dc925608b78 (diff)
downloadgdb-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/cris-opc.c')
0 files changed, 0 insertions, 0 deletions