diff options
Diffstat (limited to 'gdb/linux-thread.c')
-rw-r--r-- | gdb/linux-thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-thread.c b/gdb/linux-thread.c index 054188d..32f6cbe 100644 --- a/gdb/linux-thread.c +++ b/gdb/linux-thread.c @@ -379,7 +379,7 @@ restore_inferior_pid (void *arg) { int *saved_pid_ptr = arg; inferior_pid = *saved_pid_ptr; - free (arg); + xfree (arg); } /* Register a cleanup to restore the value of inferior_pid. */ |