Browse Source

Merge commit '7320365' into bfgminer

Luke Dashjr 13 years ago
parent
commit
9fc5e07358
1 changed files with 3 additions and 1 deletions
  1. 3 1
      miner.c

+ 3 - 1
miner.c

@@ -3720,8 +3720,10 @@ static void *submit_work_thread(__maybe_unused void *userdata)
 				}
 				++wip;
 			}
-			else
+			else {
 				--total_submitting;
+				free_work(work);
+			}
 		}
 		if (unlikely(shutting_down && !wip))
 			break;