Use right lock release in __register_exitproc()
This commit is contained in:
parent
e826fbb2ae
commit
5c7af4227d
|
@ -133,7 +133,7 @@ __register_exitproc (int type,
|
||||||
if (args == NULL)
|
if (args == NULL)
|
||||||
{
|
{
|
||||||
#ifndef __SINGLE_THREAD__
|
#ifndef __SINGLE_THREAD__
|
||||||
__lock_release(__atexit_recursive_mutex);
|
__lock_release_recursive(__atexit_recursive_mutex);
|
||||||
#endif
|
#endif
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue