]> sigrok.org Git - libsigrok.git/commitdiff
rigol-ds: Fix double free.
authorMartin Ling <redacted>
Wed, 18 Mar 2015 16:35:39 +0000 (16:35 +0000)
committerMartin Ling <redacted>
Thu, 19 Mar 2015 23:01:50 +0000 (23:01 +0000)
std_dev_clear() frees all channel groups, so this one is not required.

src/hardware/rigol-ds/api.c

index e2e78aa3fce99190040f13962e0d1a57429b4813..6dc4471d05a81162255df357c496f549b665d50d 100644 (file)
@@ -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);
 }