about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/register-atfork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/register-atfork.c b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
index 299ae9de29..3177f5a09c 100644
--- a/nptl/sysdeps/unix/sysv/linux/register-atfork.c
+++ b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
@@ -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);
     }