]> sigrok.org Git - libsigrok.git/commitdiff
asix-sigma: don't try to free static storage
authorBert Vermeulen <redacted>
Sun, 10 Feb 2013 15:49:23 +0000 (16:49 +0100)
committerBert Vermeulen <redacted>
Sun, 10 Feb 2013 16:06:56 +0000 (17:06 +0100)
hardware/asix-sigma/asix-sigma.c

index 6561c00abb58154101e09004e0a631e60239ecff..b5ebf4305f5c1ec5568701d92164d7b7cc7f3756 100644 (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);
        }