asix-sigma: don't try to free static storage
This commit is contained in:
parent
d5a669a9e0
commit
8421ffa44d
|
@ -408,7 +408,7 @@ static int clear_instances(void)
|
|||
}
|
||||
if (sdi->priv) {
|
||||
devc = sdi->priv;
|
||||
ftdi_free(&devc->ftdic);
|
||||
ftdi_deinit(&devc->ftdic);
|
||||
}
|
||||
sr_dev_inst_free(sdi);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue