Use right lock release in __register_exitproc()

This commit is contained in:
Sebastian Huber 2022-05-17 18:48:34 +02:00
parent e826fbb2ae
commit 5c7af4227d
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ __register_exitproc (int type,
if (args == NULL)
{
#ifndef __SINGLE_THREAD__
__lock_release(__atexit_recursive_mutex);
__lock_release_recursive(__atexit_recursive_mutex);
#endif
return -1;
}