Browse Source

Merge branch 'sshare_cleanup' into bfgminer-2.9.x

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

+ 1 - 0
miner.c

@@ -5415,6 +5415,7 @@ static void clear_stratum_shares(struct pool *pool)
 	HASH_ITER(hh, stratum_shares, sshare, tmpshare) {
 		if (sshare->work.pool == pool) {
 			HASH_DEL(stratum_shares, sshare);
+			clear_work(&sshare->work);
 			free(sshare);
 			cleared++;
 		}