From: Bert Vermeulen Date: Sun, 28 Apr 2013 11:05:27 +0000 (+0200) Subject: rigol-ds1xx2: Skip obsolete fields X-Git-Tag: libsigrok-0.3.0~579 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=45311368de0e860711cded2718c85f6e06c2d613;p=libsigrok.git rigol-ds1xx2: Skip obsolete fields --- diff --git a/hardware/rigol-ds1xx2/api.c b/hardware/rigol-ds1xx2/api.c index 06b69db7..bde477cf 100644 --- a/hardware/rigol-ds1xx2/api.c +++ b/hardware/rigol-ds1xx2/api.c @@ -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); }