diff libiberty/cplus-dem.c @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children b7f97abdc517
line wrap: on
line diff
--- a/libiberty/cplus-dem.c	Sun Feb 07 18:28:00 2010 +0900
+++ b/libiberty/cplus-dem.c	Fri Feb 12 23:39:51 2010 +0900
@@ -984,7 +984,10 @@
       goto Suppress;
 
   if (! changed)
-    return NULL;
+    {
+      free (demangled);
+      return NULL;
+    }
   else
     return demangled;