ikalogic-scanaplus: Free device context to fix memory leak.
Best regards, Marc >From 779ef3a1150b3679ab357ceb0e2f50785ad90d28 Mon Sep 17 00:00:00 2001 From: Marc Schink <sigrok-dev@marcschink.de> Date: Wed, 20 Aug 2014 05:42:07 -0400 Subject: [PATCH] ikalogic-scanaplus: Free device context to fix memory leak.
This commit is contained in:
parent
9fc318d9ef
commit
f817f05aac
|
@ -59,6 +59,7 @@ static void clear_helper(void *priv)
|
|||
ftdi_free(devc->ftdic);
|
||||
g_free(devc->compressed_buf);
|
||||
g_free(devc->sample_buf);
|
||||
g_free(devc);
|
||||
}
|
||||
|
||||
static int dev_clear(void)
|
||||
|
|
Loading…
Reference in New Issue