Commit de1312848f384c60a14dc8bd3d561c28e00be9a2

Con Kolivas 2014-03-28T09:51:54

Revert a fake fix

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index b011c89..b7c457f 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -7014,8 +7014,6 @@ static void gen_solo_work(struct pool *pool, struct work *work)
 	work->sdiff = pool->sdiff;
 
 	/* Copy parameters required for share submission */
-	if (likely(work->ntime))
-		free(work->ntime);
 	work->ntime = strdup(pool->ntime);
 	memcpy(work->target, pool->gbt_target, 32);
 	cg_runlock(&pool->gbt_lock);