Browse Source

sia: small mutex fix on errors

master 1.8.1-tpruvot
Tanguy Pruvot 8 years ago
parent
commit
1a51a84a94
  1. 2
      ccminer.cpp

2
ccminer.cpp

@ -2603,9 +2603,9 @@ longpoll_retry:
pthread_mutex_lock(&g_work_lock); pthread_mutex_lock(&g_work_lock);
if (sia_work_decode(sia_header, &g_work)) { if (sia_work_decode(sia_header, &g_work)) {
g_work_time = time(NULL); g_work_time = time(NULL);
pthread_mutex_unlock(&g_work_lock);
} }
free(sia_header); free(sia_header);
pthread_mutex_unlock(&g_work_lock);
} }
continue; continue;
} }

Loading…
Cancel
Save