diff --git a/src/stratifier.c b/src/stratifier.c index 4b19571d..70afe1d3 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -5386,6 +5386,7 @@ static void parse_worker_diffs(ckpool_t *ckp, json_t *worker_array) json_get_string(&workername, worker_entry, "workername"); json_get_int(&mindiff, worker_entry, "difficultydefault"); set_worker_mindiff(ckp, workername, mindiff); + dealloc(workername); } }