aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@mvista.com>2003-02-13 17:21:20 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2003-02-13 17:21:20 +0000
commit902cf50c93298503d3966675cd01841b97c909e8 (patch)
tree00a1550f7547f4fa4a0eeaa5515253bed70bc16b /gcc
parent894c84e4d9cf6e9880474b0a0681d03fe7a54209 (diff)
downloadgcc-902cf50c93298503d3966675cd01841b97c909e8.zip
gcc-902cf50c93298503d3966675cd01841b97c909e8.tar.gz
gcc-902cf50c93298503d3966675cd01841b97c909e8.tar.bz2
re PR c++/7612 (Memory leaks in cplus-dem.c)
Fix PR c++/7612. * cplus-dem.c (demangle_signature): Call string_delete. Remove extra string_init. (demangle_arm_hp_template): Call string_delete instead of string_clear. Add missing string_delete call. (demangle_qualified): Add missing string_delete call. (do_type): Remove unused variable btype. Add missing string_delete call. Call string_delete instead of string_clear. (demangle_fund_type): Move variable btype inside of the switch statement. Add missing string_delete call. (do_arg): Call string_delete instead of string_clear. Remove extra string_init. (demangle_nested_args): Free work->previous_argument. From-SVN: r62852
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions