1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 13:04:29 +00:00

Revert "Free stratum buffers added to the work struct when freeing work ram."

This reverts commit 13fdff6531a6586dadebff913d85252577fb5bb7.

Not always allocated... needs some more thought.
This commit is contained in:
Con Kolivas 2012-09-29 16:10:44 +10:00
parent 7415d7aaa0
commit fab9ff3cb7

View File

@ -2206,11 +2206,6 @@ static struct work *make_work(void)
static void free_work(struct work *work) static void free_work(struct work *work)
{ {
if (work->stratum) {
free(work->job_id);
free(work->nonce2);
free(work->ntime);
}
free(work); free(work);
} }