Commit 3ceb57b8f68efc4ce9f23756535bbf4e386a6f68

Con Kolivas 2012-08-21T21:54:33

There is no point trying to clone_work in get_work() any more since we clone on every get_work_thread where possible.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cgminer.c b/cgminer.c
index 6779f40..dfcf7c3 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4082,7 +4082,6 @@ retry:
 			pool_resus(pool);
 	}
 
-	work_heap = clone_work(work_heap);
 	memcpy(work, work_heap, sizeof(struct work));
 	free_work(work_heap);