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:
Marc Schink 2014-08-20 13:55:04 +02:00 committed by Bert Vermeulen
parent 9fc318d9ef
commit f817f05aac
1 changed files with 1 additions and 0 deletions

View File

@ -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)