@@ -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