diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-03-22 15:16:04 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-03-22 15:16:04 +0000 |
commit | 66aaa05c32ec674f5011889467d2a9bbdb74c292 (patch) | |
tree | b1d7be52c3bb7385920135631ac3fbad6b544a30 /libiberty/cp-demangle.c | |
parent | dd65e12035c302361af90f0e10bad0d43c297bad (diff) | |
download | gdb-66aaa05c32ec674f5011889467d2a9bbdb74c292.tar.gz |
* cp-demangle.c (string_list_delete): Don't forget to free the
actual contents of the string.
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r-- | libiberty/cp-demangle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index e436735c8a5..b8255b3a26c 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -424,7 +424,7 @@ string_list_delete (node) while (node != NULL) { string_list_t next = node->next; - free (node); + dyn_string_delete ((dyn_string_t) node); node = next; } } |