OSDN Git Service

Fix PR c++/7612.
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Feb 2003 17:21:20 +0000 (17:21 +0000)
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Feb 2003 17:21:20 +0000 (17:21 +0000)
commitcc7204981b1375f62c9afc89e983f0e59c41a28c
tree00a1550f7547f4fa4a0eeaa5515253bed70bc16b
parent8223255f06d100d1ff486ab880dfe3cc1328964f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62852 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/cplus-dem.c