* cp-demangle.c (string_list_delete): Don't forget to free the

actual contents of the string.
This commit is contained in:
Jim Blandy
2001-03-22 15:16:04 +00:00
parent a2061976f9
commit a88e356aab
2 changed files with 7 additions and 1 deletions

View File

@@ -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;
}
}