Browse Source

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

nfactor-troky
Con Kolivas 12 years ago
parent
commit
13fdff6531
  1. 5
      cgminer.c

5
cgminer.c

@ -2190,6 +2190,11 @@ static struct work *make_work(void) @@ -2190,6 +2190,11 @@ 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);
}

Loading…
Cancel
Save