summaryrefslogtreecommitdiff
path: root/gdb/remote-adapt.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-12-15 01:01:51 +0000
committerKevin Buettner <kevinb@redhat.com>2000-12-15 01:01:51 +0000
commit7fd5097f9fb26871e9f0b329f1cf5554495ed589 (patch)
tree20b4de6e7953169d2402aff4e158b475b5726e67 /gdb/remote-adapt.c
parenteac388f33554805a5765a2836926311f77cd8d79 (diff)
downloadgdb-7fd5097f9fb26871e9f0b329f1cf5554495ed589.tar.gz
Replace free() with xfree().
Diffstat (limited to 'gdb/remote-adapt.c')
-rw-r--r--gdb/remote-adapt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-adapt.c b/gdb/remote-adapt.c
index 6e97c1983a0..f370d3850ea 100644
--- a/gdb/remote-adapt.c
+++ b/gdb/remote-adapt.c
@@ -610,7 +610,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));
adapt_close (0);