From 3e335bbc322346413fe4a3395e68c7b5586cfdad Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 17 May 2003 00:59:09 +0000 Subject: [PATCH] 2003-05-16 Roland McGrath * sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix uninitialized variable braino. --- nptl/sysdeps/unix/sysv/linux/register-atfork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/sysdeps/unix/sysv/linux/register-atfork.c b/nptl/sysdeps/unix/sysv/linux/register-atfork.c index 299ae9d..3177f5a 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); } -- 2.7.4