summary refs log tree commit diff
path: root/iconv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-11-06 04:37:00 +0000
committerUlrich Drepper <drepper@redhat.com>2002-11-06 04:37:00 +0000
commit9a0a9895169517cd5eec26f0afcf26a8900a2bc3 (patch)
tree2f93ff86ed3dbe4e043e9d5d2a4888a4f7d1fea5 /iconv
parentbe280d0eafc104d60f75fe187ac0c96cce7f38f7 (diff)
downloadglibc-9a0a9895169517cd5eec26f0afcf26a8900a2bc3.tar.gz
glibc-9a0a9895169517cd5eec26f0afcf26a8900a2bc3.tar.xz
glibc-9a0a9895169517cd5eec26f0afcf26a8900a2bc3.zip
(do_release_all): Undo last change.
Diffstat (limited to 'iconv')
-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);
 }