diff options
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c index 39df98e..1068f1d 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -931,7 +931,7 @@ set_internalvar (struct internalvar *var, struct value *val) something in the value chain (i.e., before release_value is called), because after the error free_all_values will get called before long. */ - xfree (var->value); + value_free (var->value); var->value = newval; var->endian = gdbarch_byte_order (current_gdbarch); release_value (newval); |