X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=device.c;h=434d1066aac692d7a8a6f732f80938cc02f7ff02;hb=0812c40e361c9a75f3b4ef318a57ce8ba0479fa1;hp=9b6412d2e621d1a52df203d7002673275f47ad57;hpb=2c1a012ed243c39dc4ec1d24eede97e046224877;p=libsigrok.git diff --git a/device.c b/device.c index 9b6412d2..434d1066 100644 --- a/device.c +++ b/device.c @@ -232,6 +232,7 @@ SR_PRIV struct sr_dev_inst *sr_dev_inst_new(int index, int status, sdi->version = version ? g_strdup(version) : NULL; sdi->channels = NULL; sdi->channel_groups = NULL; + sdi->session = NULL; sdi->conn = NULL; sdi->priv = NULL;