Browse Source

Reinstate clone on grabbing work.

Con Kolivas 13 years ago
parent
commit
ee9e621e1c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cgminer.c

+ 1 - 0
cgminer.c

@@ -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);