From: Martin Ling Date: Sun, 21 Apr 2013 20:05:03 +0000 (+0100) Subject: probe_groups: initialise sdi->probe_groups to NULL. X-Git-Tag: libsigrok-0.3.0~585 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=909cc050bf96ce7b26e5431cccfe44cc95c62842 probe_groups: initialise sdi->probe_groups to NULL. --- diff --git a/device.c b/device.c index 29c721f0..8cdb8adf 100644 --- a/device.c +++ b/device.c @@ -244,6 +244,7 @@ SR_PRIV struct sr_dev_inst *sr_dev_inst_new(int index, int status, sdi->model = model ? g_strdup(model) : NULL; sdi->version = version ? g_strdup(version) : NULL; sdi->probes = NULL; + sdi->probe_groups = NULL; sdi->conn = NULL; sdi->priv = NULL;