]> sigrok.org Git - libsigrok.git/commitdiff
rigol-ds1xx2: Skip obsolete fields
authorBert Vermeulen <redacted>
Sun, 28 Apr 2013 11:05:27 +0000 (13:05 +0200)
committerUwe Hermann <redacted>
Fri, 8 Nov 2013 00:03:18 +0000 (01:03 +0100)
hardware/rigol-ds1xx2/api.c

index 06b69db7c4ce1c75d5c9bc0762e3b86c8f126de2..bde477cf312880287c9ffb0befcb180996ddd217 100644 (file)
@@ -161,7 +161,6 @@ static void clear_helper(void *priv)
                if (!(devc = sdi->priv))
                        continue;
 
-               g_free(devc->device);
                g_free(devc->coupling[0]);
                g_free(devc->coupling[1]);
                g_free(devc->trigger_source);
@@ -169,7 +168,6 @@ static void clear_helper(void *priv)
                g_slist_free(devc->analog_groups[0].probes);
                g_slist_free(devc->analog_groups[1].probes);
                g_slist_free(devc->digital_group.probes);
-               close(devc->fd);
 
                sr_dev_inst_free(sdi);
        }