Browse Source

Generically dealloc instead of freeing share pointer in purge_share_hashtable

master
Con Kolivas 10 years ago
parent
commit
ee58990b05
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -523,7 +523,7 @@ static void purge_share_hashtable(sdata_t *sdata, int64_t wb_id)
HASH_ITER(hh, sdata->shares, share, tmp) {
if (share->workbase_id < wb_id) {
HASH_DEL(sdata->shares, share);
free(share);
dealloc(share);
purged++;
}
}

Loading…
Cancel
Save