mirror of
https://github.com/GOSTSec/ccminer
synced 2025-02-02 09:54:26 +00:00
align: missed one aligned free of struct work (solo)
This commit is contained in:
parent
149143d5cd
commit
8046284843
@ -811,7 +811,7 @@ static bool get_work(struct thr_info *thr, struct work *work)
|
|||||||
|
|
||||||
/* copy returned work into storage provided by caller */
|
/* copy returned work into storage provided by caller */
|
||||||
memcpy(work, work_heap, sizeof(*work));
|
memcpy(work, work_heap, sizeof(*work));
|
||||||
free(work_heap);
|
aligned_free(work_heap);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user