* python/python-value.c (value_to_value_object): Initialize
owned_by_gdb field.
(valpy_new): Likewise.
+2008-10-23 Tom Tromey <tromey@redhat.com>
+
+ * python/python-value.c (value_to_value_object): Initialize
+ owned_by_gdb field.
+ (valpy_new): Likewise.
+
2008-10-23 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
}
value_obj->value = value;
+ value_obj->owned_by_gdb = 0;
release_value (value);
value_prepend_to_list (&values_in_python, value);
if (val_obj != NULL)
{
val_obj->value = val;
+ val_obj->owned_by_gdb = 0;
release_value (val);
value_prepend_to_list (&values_in_python, val);
}