Browse Source

Merge commit 'aee7b3f' into bfgminer-3.0.x

Luke Dashjr 12 years ago
parent
commit
1bffe4db86
1 changed files with 3 additions and 0 deletions
  1. 3 0
      util.c

+ 3 - 0
util.c

@@ -1988,7 +1988,10 @@ resend:
 	ret = true;
 out:
 	if (val)
+	{
 		json_decref(val);
+		val = NULL;
+	}
 
 	if (ret) {
 		if (!pool->stratum_url)