* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / lin-lwp.c
index 2d074d3e5d8d2d68eca8e5e9d70a0186d98bda34..bf52e2feaa2c189d668b9b47c44b8ca8bc034cde 100644 (file)
@@ -164,7 +164,7 @@ init_lwp_list (void)
   for (lp = lwp_list; lp; lp = lpnext)
     {
       lpnext = lp->next;
-      free (lp);
+      xfree (lp);
     }
 
   lwp_list = NULL;
@@ -222,7 +222,7 @@ delete_lwp (int pid)
   else
     lwp_list = lp->next;
 
-  free (lp);
+  xfree (lp);
 }
 
 /* Return a pointer to the structure describing the LWP corresponding
@@ -268,7 +268,7 @@ restore_inferior_pid (void *arg)
 {
   int *saved_pid_ptr = arg;
   inferior_pid = *saved_pid_ptr;
-  free (arg);
+  xfree (arg);
 }
 
 static struct cleanup *
This page took 0.023544 seconds and 4 git commands to generate.