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 /elf | |
parent | 3a4fabbd3cb594e1a8ac415421ee34f6abc9ada3 (diff) | |
download | glibc-a7b04831f51fb525ac743b8fc75c132400dc1492.tar.gz glibc-a7b04831f51fb525ac743b8fc75c132400dc1492.tar.xz glibc-a7b04831f51fb525ac743b8fc75c132400dc1492.zip |
Fix one more memory leak.
Diffstat (limited to 'elf')
-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 ab650bc748..3b039dcd66 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); |