diff --git a/pcsensor.c b/pcsensor.c index 8b9f1bf..b2a4e35 100644 --- a/pcsensor.c +++ b/pcsensor.c @@ -459,5 +459,7 @@ int main(int argc, char **argv) { libusb_close(devices[i].handle); } + libusb_exit(ctx); + return 0; }