diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-10-08 11:03:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-10-08 11:03:35 +0000 |
commit | a7b04831f51fb525ac743b8fc75c132400dc1492 (patch) | |
tree | 59466636e38985467a653a2e35d5cdece93af08f | |
parent | 3a4fabbd3cb594e1a8ac415421ee34f6abc9ada3 (diff) | |
download | glibc-a7b04831f51fb525ac743b8fc75c132400dc1492.zip glibc-a7b04831f51fb525ac743b8fc75c132400dc1492.tar.gz glibc-a7b04831f51fb525ac743b8fc75c132400dc1492.tar.bz2 |
Fix one more memory leak.
-rw-r--r-- | elf/dl-close.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c index ab650bc..3b039dc 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -124,6 +124,8 @@ _dl_close (struct link_map *map) } if (imap->l_next) imap->l_next->l_prev = imap->l_prev; + if (imap->l_dupsearchlist( + free (imap->l_dupsearchlist); if (imap->l_searchlist && imap->l_searchlist != list) free (imap->l_searchlist); free (imap->l_name); |