X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fopenbench-logic-sniffer%2Fols.c;h=e9f0c2d34aa49808cbff9cdb179f161c44c05bec;hb=8e49cebd10a1f34e9d5cdafeebc4c59a5c3c563c;hp=e3620485315cb99e6bdfe21e5b611920f88185da;hpb=697785d1aedc0bf385ea21074d83d61b11d8ce29;p=libsigrok.git diff --git a/hardware/openbench-logic-sniffer/ols.c b/hardware/openbench-logic-sniffer/ols.c index e3620485..e9f0c2d3 100644 --- a/hardware/openbench-logic-sniffer/ols.c +++ b/hardware/openbench-logic-sniffer/ols.c @@ -482,7 +482,7 @@ static void hw_cleanup(void) GSList *l; struct sr_device_instance *sdi; - /* Properly close all devices. */ + /* Properly close and free all devices. */ for (l = device_instances; l; l = l->next) { sdi = l->data; if (sdi->serial->fd != -1)