2003-05-16 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Sat, 17 May 2003 00:59:09 +0000 (00:59 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 17 May 2003 00:59:09 +0000 (00:59 +0000)
* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix
uninitialized variable braino.

nptl/sysdeps/unix/sysv/linux/register-atfork.c

index 299ae9d..3177f5a 100644 (file)
@@ -127,7 +127,7 @@ libc_freeres_fn (free_mem)
   /* We can free the memory after releasing the lock.  */
   while (runp != NULL)
     {
-      struct fork_handler_pool *oldp;
+      struct fork_handler_pool *oldp = runp;
       runp = runp->next;
       free (oldp);
     }