projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb/
[binutils-gdb.git]
/
libiberty
/
cplus-dem.c
diff --git
a/libiberty/cplus-dem.c
b/libiberty/cplus-dem.c
index 416746753660e6bb4c909f91f503258a4ad0b7d4..66285141ffa2ff6f6caaa4f5effa59f957bc9349 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;