There is no point trying to clone_work in get_work() any more since we clone on every get_work_thread where possible.
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);