Browse Source

Fix leak in parse_worker_diffs.

master
ckolivas 8 years ago
parent
commit
5d02bdfb9a
  1. 1
      src/stratifier.c

1
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);
}
}

Loading…
Cancel
Save