1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Reinstate clone on grabbing work.

This commit is contained in:
Con Kolivas 2012-08-16 10:59:49 +10:00
parent 55f7c14982
commit ee9e621e1c

View File

@ -4119,6 +4119,7 @@ retry:
pool_resus(pool);
}
work_heap = clone_work(work_heap);
memcpy(work, work_heap, sizeof(struct work));
free_work(work_heap);