diff options
Diffstat (limited to 'gdb/ser-pipe.c')
-rw-r--r-- | gdb/ser-pipe.c | 2 |
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. */ |