cleanup on error/exit
[hmcfgusb] / hmland.c
index 75d4e1480cd1f84058922edd45a674068cf879a7..3366c8b5dae00023fb13ee2f60766a923ef9b55c 100644 (file)
--- a/hmland.c
+++ b/hmland.c
@@ -216,7 +216,7 @@ int main(int argc, char **argv)
                }
        }
 
-       libusb_close(NULL);
+       hmcfgusb_close(dev);
 
        return EXIT_SUCCESS;
 }
Impressum, Datenschutz