From 0aaa9a3aa1e68d309a4746633494b9a01a0575f5 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 28 May 2014 23:06:43 +0100 Subject: cplus-demangler, free resource after a failed call to gnu_special. libiberty/ 2014-05-14 Andrew Burgess * cplus-dmem.c (internal_cplus_demangle): Free any resources allocated by possible previous call to gnu_special. (squangle_mop_up): Reset pointers to NULL after calling free. * testsuite/demangle-expected: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210425 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libiberty/ChangeLog') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 335a47d..7156be7 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,10 @@ +2014-05-14 Andrew Burgess + + * cplus-dmem.c (internal_cplus_demangle): Free any resources + allocated by possible previous call to gnu_special. + (squangle_mop_up): Reset pointers to NULL after calling free. + * testsuite/demangle-expected: New test case. + 2014-05-08 Gary Benson * cp-demangle.c (struct d_component_stack): New structure. -- cgit v1.1