forked from Imagelibrary/binutils-gdb
* varobj.c (free_variable): Call value_free.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-03-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* varobj.c (free_variable): Call value_free.
|
||||
|
||||
2009-03-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
PR gdb/9873:
|
||||
|
||||
@@ -1512,6 +1512,8 @@ new_root_variable (void)
|
||||
static void
|
||||
free_variable (struct varobj *var)
|
||||
{
|
||||
value_free (var->value);
|
||||
|
||||
/* Free the expression if this is a root variable. */
|
||||
if (is_root_p (var))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user