aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/thread-db.c')
-rw-r--r--gdb/thread-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/thread-db.c b/gdb/thread-db.c
index 7c3c0ae..0296149 100644
--- a/gdb/thread-db.c
+++ b/gdb/thread-db.c
@@ -148,7 +148,7 @@ restore_inferior_pid (void *arg)
{
int *saved_pid_ptr = arg;
inferior_pid = *saved_pid_ptr;
- free (arg);
+ xfree (arg);
}
static struct cleanup *