Browse Source

Merge branch 'stratum_nonce1_leak' into bfgminer-2.9.x

Conflicts:
	util.c
Luke Dashjr 13 years ago
parent
commit
711d56c06c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      util.c

+ 1 - 0
util.c

@@ -1389,6 +1389,7 @@ bool initiate_stratum(struct pool *pool)
 		goto out;
 	}
 
+	free(pool->nonce1);
 	pool->nonce1 = json_array_string(res_val, 1);
 	if (!pool->nonce1) {
 		applog(LOG_INFO, "Failed to get nonce1 in initiate_stratum");