]> sigrok.org Git - libsigrok.git/commitdiff
chronovu-la8: fix double free
authorBert Vermeulen <redacted>
Fri, 3 Aug 2012 12:18:02 +0000 (14:18 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 12:18:02 +0000 (14:18 +0200)
hardware/chronovu-la8/api.c

index 5b5d3c7bdfd841463041ceab0fa342568f4faad7..7c99ceb59a4d81d30732b7b42b6af7c248f7feda 100644 (file)
@@ -60,7 +60,6 @@ static void clear_instances(void)
                if (sdi->priv) {
                        devc = sdi->priv;
                        ftdi_free(devc->ftdic);
-                       g_free(devc);
                }
                sr_dev_inst_free(sdi);
        }