]> sigrok.org Git - libsigrok.git/commitdiff
asix-sigma: fix double free
authorBert Vermeulen <redacted>
Fri, 3 Aug 2012 12:19:00 +0000 (14:19 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 12:19:00 +0000 (14:19 +0200)
hardware/asix-sigma/asix-sigma.c

index e6515dd255eb5cdf126f89ccd24a6254fca1f75d..10e2e3707efea528ec10f29da7bfd54288c7c677 100644 (file)
@@ -426,7 +426,6 @@ static void clear_instances(void)
                if (sdi->priv) {
                        devc = sdi->priv;
                        ftdi_free(&devc->ftdic);
-                       g_free(devc);
                }
                sr_dev_inst_free(sdi);
        }