aboutsummaryrefslogtreecommitdiff
path: root/iconv/gconv_dl.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/gconv_dl.c')
-rw-r--r--iconv/gconv_dl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/iconv/gconv_dl.c b/iconv/gconv_dl.c
index 0bf6129e73..cc7627aba2 100644
--- a/iconv/gconv_dl.c
+++ b/iconv/gconv_dl.c
@@ -198,9 +198,7 @@ do_release_all (void *nodep)
/* Unload the shared object. */
if (obj->handle != NULL)
- do
- __libc_dlclose (obj->handle);
- while (--obj->counter > 0);
+ __libc_dlclose (obj->handle);
free (obj);
}