From: Roland McGrath Date: Sat, 17 May 2003 00:59:09 +0000 (+0000) Subject: 2003-05-16 Roland McGrath X-Git-Tag: upstream/2.30~19259 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e335bbc322346413fe4a3395e68c7b5586cfdad;p=external%2Fglibc.git 2003-05-16 Roland McGrath * sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix uninitialized variable braino. --- 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); }