mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gdb/
* varobj.c (free_variable): Replace free_current_contents by xfree.
This commit is contained in:
@@ -1517,7 +1517,7 @@ free_variable (struct varobj *var)
|
||||
/* Free the expression if this is a root variable. */
|
||||
if (is_root_p (var))
|
||||
{
|
||||
free_current_contents (&var->root->exp);
|
||||
xfree (var->root->exp);
|
||||
xfree (var->root);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user