Commit 3f3191ce authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Corrected copy and paste error of lock/unlock

parent 231e60a4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment