mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-11 13:11:02 +00:00
Free hashfast structures allocated on driver shutdown.
This commit is contained in:
parent
6493b976d3
commit
ad8e0f13ea
@ -859,6 +859,10 @@ static void hfa_shutdown(struct thr_info *thr)
|
|||||||
hfa_free_all_work(info);
|
hfa_free_all_work(info);
|
||||||
hfa_clear_readbuf(hashfast);
|
hfa_clear_readbuf(hashfast);
|
||||||
usb_buffer_disable(hashfast);
|
usb_buffer_disable(hashfast);
|
||||||
|
free(info->works);
|
||||||
|
free(info->die_statistics);
|
||||||
|
free(info->die_status);
|
||||||
|
free(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct device_drv hashfast_drv = {
|
struct device_drv hashfast_drv = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user