X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=device.c;h=2ad678497421a0247e264374b2f61cc6e5d075a8;hb=a8d162f6d33f2d5112193d6539a08e9b7beac4d7;hp=62395be57f3de405f6522e327d458d74f345d8c4;hpb=9fb5f2dfa6bcded8082677ed3b915ff6b880cfab;p=libsigrok.git diff --git a/device.c b/device.c index 62395be5..2ad67849 100644 --- a/device.c +++ b/device.c @@ -243,6 +243,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->conn = NULL; sdi->priv = NULL; return sdi;