Browse Source

Merge branch 'bugfix_stratum_leak2' into bfgminer

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

+ 4 - 0
miner.c

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