diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-15 07:06:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-15 07:06:23 +0000 |
commit | 07a3d63e524f13dd09e14adb0ac2623f6600401d (patch) | |
tree | 7a19ce309262c7d2d7fa26ad15df1aeaa969b9f4 /elf/dl-close.c | |
parent | b8fd550293431d4df42b281fc868ef0ab80e822b (diff) | |
download | glibc-07a3d63e524f13dd09e14adb0ac2623f6600401d.tar.gz glibc-07a3d63e524f13dd09e14adb0ac2623f6600401d.tar.xz glibc-07a3d63e524f13dd09e14adb0ac2623f6600401d.zip |
Update.
2000-08-15 Ulrich Drepper <drepper@redhat.com> * elf/multiload.c: Add mtrace call. Call dlclose for all handles and free wd. * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if there is already one. * elf/dl-close.c: Pretty print.
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r-- | elf/dl-close.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c index 99d52d02e2..6bdedd1b80 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -189,10 +189,10 @@ _dl_close (void *_map) /* Remove the searchlists. */ if (imap != map) { - if (imap->l_searchlist.r_list != NULL) - free (imap->l_searchlist.r_list); - else if (imap->l_initfini != NULL) - free (imap->l_initfini); + if (imap->l_searchlist.r_list != NULL) + free (imap->l_searchlist.r_list); + else if (imap->l_initfini != NULL) + free (imap->l_initfini); } if (imap->l_phdr_allocated) |