From: Martin Ling Date: Wed, 18 Mar 2015 16:35:39 +0000 (+0000) Subject: rigol-ds: Fix double free. X-Git-Tag: libsigrok-0.4.0~596 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bff16ba817a5609e91ca803892354ab7dbc396df;p=libsigrok.git rigol-ds: Fix double free. std_dev_clear() frees all channel groups, so this one is not required. --- diff --git a/src/hardware/rigol-ds/api.c b/src/hardware/rigol-ds/api.c index e2e78aa3..6dc4471d 100644 --- a/src/hardware/rigol-ds/api.c +++ b/src/hardware/rigol-ds/api.c @@ -250,7 +250,6 @@ static void clear_helper(void *priv) g_free(devc->trigger_source); g_free(devc->trigger_slope); g_free(devc->analog_groups); - g_free(devc->digital_group); g_free(devc); }