summaryrefslogtreecommitdiff
path: root/gdb/remote-eb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-eb.c')
-rw-r--r--gdb/remote-eb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-eb.c b/gdb/remote-eb.c
index 42e606ffdb9..9ccac6f3d8b 100644
--- a/gdb/remote-eb.c
+++ b/gdb/remote-eb.c
@@ -426,7 +426,7 @@ the baud rate, and the name of the program to run on the remote system.");
/*EMPTY */ ;
if (prog_name != NULL)
- free (prog_name);
+ xfree (prog_name);
prog_name = savestring (p, strlen (p));
eb_close (0);