Browse Source

Merge commit 'ead30c1' into bfgminer

Luke Dashjr 13 years ago
parent
commit
e9e08375df
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -8029,6 +8029,7 @@ retry:
 			if (!last_work)
 				{}
 			if (can_roll(last_work) && should_roll(last_work)) {
+				free_work(work);
 				work = make_clone(pool->last_work_copy);
 				mutex_unlock(&pool->last_work_lock);
 				roll_work(work);