]> sigrok.org Git - libsigrok.git/commitdiff
probe_groups: initialise sdi->probe_groups to NULL.
authorMartin Ling <redacted>
Sun, 21 Apr 2013 20:05:03 +0000 (21:05 +0100)
committerUwe Hermann <redacted>
Fri, 8 Nov 2013 00:03:17 +0000 (01:03 +0100)
device.c

index 29c721f0cc57529c22440a2fc1553dda3fcbf6d9..8cdb8adf68ad050e2e9be4cda58e12f48801fff6 100644 (file)
--- 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;