From fab9ff3cb7c4120baebf64756528293d4a1117d2 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 29 Sep 2012 16:10:44 +1000 Subject: [PATCH] Revert "Free stratum buffers added to the work struct when freeing work ram." This reverts commit 13fdff6531a6586dadebff913d85252577fb5bb7. Not always allocated... needs some more thought. --- cgminer.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cgminer.c b/cgminer.c index 55a2ca01..8d62c96f 100644 --- a/cgminer.c +++ b/cgminer.c @@ -2206,11 +2206,6 @@ static struct work *make_work(void) static void free_work(struct work *work) { - if (work->stratum) { - free(work->job_id); - free(work->nonce2); - free(work->ntime); - } free(work); }