Browse Source

Merge commit 'aee7b3f' into bfgminer

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

+ 3 - 0
util.c

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