X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=device.c;h=e9f6c7bcdd661a644221acbd07e5b43804b56365;hb=ef2345bc29fc8b3bc31e5d89e028be31c7b39428;hp=533331141d4908e30ae4e1ee891e6242bab67c75;hpb=48a486cd3ed51cfefce271224541502f4388c225;p=libsigrok.git diff --git a/device.c b/device.c index 53333114..e9f6c7bc 100644 --- a/device.c +++ b/device.c @@ -194,6 +194,7 @@ SR_PRIV struct sr_dev_inst *sr_dev_inst_new(int index, int status, return NULL; } + sdi->driver = NULL; sdi->index = index; sdi->status = status; sdi->inst_type = -1;