aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparcl-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparcl-tdep.c')
-rw-r--r--gdb/sparcl-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparcl-tdep.c b/gdb/sparcl-tdep.c
index ce9b46e..6df7e70 100644
--- a/gdb/sparcl-tdep.c
+++ b/gdb/sparcl-tdep.c
@@ -411,7 +411,7 @@ sparclite_open (char *name, int from_tty)
unpush_target (&sparclite_ops);
if (remote_target_name)
- free (remote_target_name);
+ xfree (remote_target_name);
remote_target_name = strsave (name);