aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.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
commitb8c9b27d1e133d46199734ca1f047af8bb2d3314 (patch)
tree1aa002791f0e97bfc48c64222199e6d9f9e5eb53 /gdb/remote-vx.c
parent6fa957a9b9408297206fb88e7c773931760f0528 (diff)
downloadgdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip
gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz
gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2
Replace free() with xfree().
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r--gdb/remote-vx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index adf1771..011e1ea 100644
--- a/gdb/remote-vx.c
+++ b/gdb/remote-vx.c
@@ -700,7 +700,7 @@ vx_load_command (char *arg_string, int from_tty)
error ("The load command takes a file name");
arg_string = tilde_expand (arg_string);
- make_cleanup (free, arg_string);
+ make_cleanup (xfree, arg_string);
dont_repeat ();
@@ -1209,7 +1209,7 @@ vx_attach (char *args, int from_tty)
push_target (&vx_run_ops);
if (vx_running)
- free (vx_running);
+ xfree (vx_running);
vx_running = 0;
}
@@ -1294,7 +1294,7 @@ vx_proc_close (int quitting)
{
inferior_pid = 0; /* No longer have a process. */
if (vx_running)
- free (vx_running);
+ xfree (vx_running);
vx_running = 0;
}
@@ -1325,7 +1325,7 @@ vx_close (int quitting)
pClient = 0;
if (vx_host)
- free (vx_host); /* The hostname */
+ xfree (vx_host); /* The hostname */
vx_host = 0;
}