about summary refs log tree commit diff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r--elf/dl-close.c8
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)