mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Fix: Corrected copy and paste error of lock/unlock
This commit is contained in:
parent
231e60a46a
commit
3f3191ce0b
@ -1037,7 +1037,7 @@ auth_t *auth_stack_get(auth_stack_t *stack) {
|
||||
if (!stack)
|
||||
return NULL;
|
||||
|
||||
thread_mutex_unlock(&stack->lock);
|
||||
thread_mutex_lock(&stack->lock);
|
||||
auth_addref(auth = stack->auth);
|
||||
thread_mutex_unlock(&stack->lock);
|
||||
return auth;
|
||||
|
Loading…
Reference in New Issue
Block a user