OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge from gcc
[pf3gnuchains/sourceware.git]
/
libiberty
/
cplus-dem.c
diff --git
a/libiberty/cplus-dem.c
b/libiberty/cplus-dem.c
index
4167467
..
6628514
100644
(file)
--- a/
libiberty/cplus-dem.c
+++ b/
libiberty/cplus-dem.c
@@
-984,7
+984,10
@@
ada_demangle (const char *mangled, int option ATTRIBUTE_UNUSED)
goto Suppress;
if (! changed)
- return NULL;
+ {
+ free (demangled);
+ return NULL;
+ }
else
return demangled;