aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-pipe.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/ser-pipe.c
parent6fa957a9b9408297206fb88e7c773931760f0528 (diff)
downloadfsf-binutils-gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip
fsf-binutils-gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz
fsf-binutils-gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2
Replace free() with xfree().
Diffstat (limited to 'gdb/ser-pipe.c')
-rw-r--r--gdb/ser-pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-pipe.c b/gdb/ser-pipe.c
index fd073c2..9c915b0 100644
--- a/gdb/ser-pipe.c
+++ b/gdb/ser-pipe.c
@@ -124,7 +124,7 @@ pipe_close (serial_t scb)
int pid = state->pid;
close (scb->fd);
scb->fd = -1;
- free (state);
+ xfree (state);
scb->state = NULL;
kill (pid, SIGTERM);
/* Might be useful to check that the child does die. */