aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-05-17 00:59:09 +0000
committerRoland McGrath <roland@gnu.org>2003-05-17 00:59:09 +0000
commit3e335bbc322346413fe4a3395e68c7b5586cfdad (patch)
treea53a8e96546667bfd9b15b7cf7a80c80dce15857 /nptl/sysdeps
parent23ae64517447a0b11ea4102a29c0d18f8f5949d0 (diff)
downloadglibc-3e335bbc322346413fe4a3395e68c7b5586cfdad.zip
glibc-3e335bbc322346413fe4a3395e68c7b5586cfdad.tar.gz
glibc-3e335bbc322346413fe4a3395e68c7b5586cfdad.tar.bz2
2003-05-16 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix uninitialized variable braino.
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 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);
}