asix-sigma: fix double free

This commit is contained in:
Bert Vermeulen 2012-08-03 14:19:00 +02:00
parent 8012ae1e3b
commit 228b2cccaf
1 changed files with 0 additions and 1 deletions

View File

@ -426,7 +426,6 @@ static void clear_instances(void)
if (sdi->priv) { if (sdi->priv) {
devc = sdi->priv; devc = sdi->priv;
ftdi_free(&devc->ftdic); ftdi_free(&devc->ftdic);
g_free(devc);
} }
sr_dev_inst_free(sdi); sr_dev_inst_free(sdi);
} }