aboutsummaryrefslogtreecommitdiff
path: root/gdb/h8500-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/h8500-tdep.c')
-rw-r--r--gdb/h8500-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/h8500-tdep.c b/gdb/h8500-tdep.c
index 0d96b8a..aa53d69 100644
--- a/gdb/h8500-tdep.c
+++ b/gdb/h8500-tdep.c
@@ -510,7 +510,7 @@ h8500_value_of_trapped_internalvar (struct internalvar *var)
get_saved_register (regbuf, NULL, NULL, selected_frame, regnum, NULL);
regval |= regbuf[0] << 8 | regbuf[1]; /* XXX host/target byte order */
- free (var->value); /* Free up old value */
+ xfree (var->value); /* Free up old value */
var->value = value_from_longest (builtin_type_unsigned_long, regval);
release_value (var->value); /* Unchain new value */