mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-12 19:04:54 +03:00
(do_release_all): Call __libc_dlclose as many times as we opened the module.
This commit is contained in:
@@ -198,7 +198,9 @@ do_release_all (void *nodep)
|
||||
|
||||
/* Unload the shared object. */
|
||||
if (obj->handle != NULL)
|
||||
do
|
||||
__libc_dlclose (obj->handle);
|
||||
while (--obj->counter > 0);
|
||||
|
||||
free (obj);
|
||||
}
|
||||
|
Reference in New Issue
Block a user