mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
leak fix
This commit is contained in:
parent
381c294878
commit
3067a414fc
@ -408,7 +408,7 @@ int libztex_scanDevices (struct libztex_dev_list*** devs_p) {
|
|||||||
devs[pos]->dev = ztex;
|
devs[pos]->dev = ztex;
|
||||||
devs[pos]->next = NULL;
|
devs[pos]->next = NULL;
|
||||||
if (pos > 0) {
|
if (pos > 0) {
|
||||||
devs[pos]->next = devs[pos];
|
devs[pos-1]->next = devs[pos];
|
||||||
}
|
}
|
||||||
pos++;
|
pos++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user