aboutsummaryrefslogtreecommitdiff
path: root/opcodes/xstormy16-ibld.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/xstormy16-ibld.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/xstormy16-ibld.c')
0 files changed, 0 insertions, 0 deletions