Browse Source

align: missed one aligned free of struct work (solo)

master
Tanguy Pruvot 10 years ago
parent
commit
8046284843
  1. 2
      cpu-miner.c

2
cpu-miner.c

@ -811,7 +811,7 @@ static bool get_work(struct thr_info *thr, struct work *work) @@ -811,7 +811,7 @@ static bool get_work(struct thr_info *thr, struct work *work)
/* copy returned work into storage provided by caller */
memcpy(work, work_heap, sizeof(*work));
free(work_heap);
aligned_free(work_heap);
return true;
}

Loading…
Cancel
Save