]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/ols.c
better cleanup of device/plugin resources
[libsigrok.git] / hardware / openbench-logic-sniffer / ols.c
index e3620485315cb99e6bdfe21e5b611920f88185da..e9f0c2d34aa49808cbff9cdb179f161c44c05bec 100644 (file)
@@ -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)