Skip to content

Commit 1a51a84

Browse files
committed
sia: small mutex fix on errors
1 parent 2520f9a commit 1a51a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ccminer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2603,9 +2603,9 @@ static void *longpoll_thread(void *userdata)
26032603
pthread_mutex_lock(&g_work_lock);
26042604
if (sia_work_decode(sia_header, &g_work)) {
26052605
g_work_time = time(NULL);
2606-
pthread_mutex_unlock(&g_work_lock);
26072606
}
26082607
free(sia_header);
2608+
pthread_mutex_unlock(&g_work_lock);
26092609
}
26102610
continue;
26112611
}

0 commit comments

Comments
 (0)