mirror of git://sourceware.org/git/glibc.git
(do_release_all): Call __libc_dlclose as many times as we opened the module.
This commit is contained in:
parent
e791bd95a5
commit
c7709dbb33
|
@ -198,7 +198,9 @@ do_release_all (void *nodep)
|
||||||
|
|
||||||
/* Unload the shared object. */
|
/* Unload the shared object. */
|
||||||
if (obj->handle != NULL)
|
if (obj->handle != NULL)
|
||||||
|
do
|
||||||
__libc_dlclose (obj->handle);
|
__libc_dlclose (obj->handle);
|
||||||
|
while (--obj->counter > 0);
|
||||||
|
|
||||||
free (obj);
|
free (obj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue