From 909cc050bf96ce7b26e5431cccfe44cc95c62842 Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Sun, 21 Apr 2013 21:05:03 +0100 Subject: [PATCH] probe_groups: initialise sdi->probe_groups to NULL. --- device.c | 1 + 1 file changed, 1 insertion(+) 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;