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:
* dwarf2read.c (dwarf_decode_macros): New variable `at_commandline'.
Move the variable `macinfo_type' out of the loop. Create a new
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))
{