mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
* cp-demangle.c (string_list_delete): Don't forget to free the
actual contents of the string.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user