diff options
author | Andreas Schwab <schwab@redhat.com> | 2010-09-22 12:06:30 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2010-09-27 15:41:56 +0200 |
commit | 4d4c53bc13fb1dc04ebe1cb3edd7125ab8852d2e (patch) | |
tree | 265eaa35fde2f6f5d1396053f6f4460a46892406 /elf/rtld.c | |
parent | c1b97d6d896b1f22fdf5d28471ef7859ec840a57 (diff) | |
download | glibc-4d4c53bc13fb1dc04ebe1cb3edd7125ab8852d2e.tar.gz |
Fix memory leak on init/fini dependency list
Diffstat (limited to 'elf/rtld.c')
-rw-r--r-- | elf/rtld.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/rtld.c b/elf/rtld.c index 2e266b1d27..9a560b3ced 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -2240,6 +2240,7 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n", lnp->dont_free = 1; lnp = lnp->next; } + l->l_free_initfini = 0; if (l != &GL(dl_rtld_map)) _dl_relocate_object (l, l->l_scope, GLRO(dl_lazy) ? RTLD_LAZY : 0, |