diff options
author | Andreas Schwab <schwab@redhat.com> | 2010-09-22 12:06:30 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2011-03-07 16:29:28 +0100 |
commit | 675155e9084e060fd0e1e637b843f14e82898aa5 (patch) | |
tree | ddcdd89b31afe225b75d3cb3ef3e59be97bf80ea /elf/rtld.c | |
parent | 3410712a0f8bc8e180f2888cf4615e681b1048fc (diff) | |
download | glibc-675155e9084e060fd0e1e637b843f14e82898aa5.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 4a9109ebee..617e30ea41 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -2251,6 +2251,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, |