fix a few small memory-leaks when opening the USB device
[hmcfgusb] / hmsniff.c
index a3cbe7a244ffd96304018b7e5a383a68bee62f13..79fc2c92302c1904b1f1b9c9f2ff96dd9ec6396c 100644 (file)
--- a/hmsniff.c
+++ b/hmsniff.c
@@ -221,5 +221,7 @@ int main(int argc, char **argv)
                hmcfgusb_close(dev);
        } while (!quit);
 
+       hmcfgusb_exit();
+
        return EXIT_SUCCESS;
 }
Impressum, Datenschutz