Browse Source

Reinstate clone on grabbing work.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
ee9e621e1c
  1. 1
      cgminer.c

1
cgminer.c

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

Loading…
Cancel
Save