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. */
|
||||
if (obj->handle != NULL)
|
||||
__libc_dlclose (obj->handle);
|
||||
do
|
||||
__libc_dlclose (obj->handle);
|
||||
while (--obj->counter > 0);
|
||||
|
||||
free (obj);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue