From: Bert Vermeulen Date: Sun, 10 Feb 2013 15:49:23 +0000 (+0100) Subject: asix-sigma: don't try to free static storage X-Git-Tag: dsupstream~268 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8421ffa44dc9b0ca89c554c40be39dcc151e7495;p=libsigrok.git asix-sigma: don't try to free static storage --- diff --git a/hardware/asix-sigma/asix-sigma.c b/hardware/asix-sigma/asix-sigma.c index 6561c00a..b5ebf430 100644 --- a/hardware/asix-sigma/asix-sigma.c +++ b/hardware/asix-sigma/asix-sigma.c @@ -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); }