From 07a3d63e524f13dd09e14adb0ac2623f6600401d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 15 Aug 2000 07:06:23 +0000 Subject: Update. 2000-08-15 Ulrich Drepper * 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. --- elf/dl-close.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'elf/dl-close.c') diff --git a/elf/dl-close.c b/elf/dl-close.c index 99d52d0..6bdedd1 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) -- cgit v1.1