Browse Source

Bugfix: Free unused work when switching to Stratum instead

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

+ 2 - 0
miner.c

@@ -5162,6 +5162,8 @@ tryagain:
 
 
 		}
 		}
 
 
+		free_work(work);
+
 retry_stratum:
 retry_stratum:
 		/* We create the stratum thread for each pool just after
 		/* We create the stratum thread for each pool just after
 		 * successful authorisation. Once the auth flag has been set
 		 * successful authorisation. Once the auth flag has been set