mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
2003-05-16 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix uninitialized variable braino.
This commit is contained in:
parent
23ae645174
commit
3e335bbc32
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user