asix-sigma: don't try to free static storage

This commit is contained in:
Bert Vermeulen 2013-02-10 16:49:23 +01:00
parent d5a669a9e0
commit 8421ffa44d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}