From: Bert Vermeulen Date: Fri, 3 Aug 2012 12:19:00 +0000 (+0200) Subject: asix-sigma: fix double free X-Git-Tag: dsupstream~731 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=228b2cccaf2773efa81891273e2cf32ce6f14b2f;p=libsigrok.git asix-sigma: fix double free --- diff --git a/hardware/asix-sigma/asix-sigma.c b/hardware/asix-sigma/asix-sigma.c index e6515dd2..10e2e370 100644 --- a/hardware/asix-sigma/asix-sigma.c +++ b/hardware/asix-sigma/asix-sigma.c @@ -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); }