mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 14:58:01 +00:00
Don't free the cgpu data on shutting down avalon driver.
This commit is contained in:
parent
ce196049fd
commit
31bbaa1491
@ -1613,7 +1613,6 @@ static void avalon_shutdown(struct thr_info *thr)
|
||||
avalon->works = NULL;
|
||||
free(avalon->device_data);
|
||||
avalon->device_data = NULL;
|
||||
thr->cgpu = usb_free_cgpu(avalon);
|
||||
}
|
||||
|
||||
static char *avalon_set_device(struct cgpu_info *avalon, char *option, char *setting, char *replybuf)
|
||||
|
Loading…
Reference in New Issue
Block a user