From 44126918c33e8d72afe45092736986250526a992 Mon Sep 17 00:00:00 2001 From: shakemid Date: Fri, 15 Sep 2017 20:23:03 +0900 Subject: [PATCH] Add libusb_exit --- pcsensor.c | 2 ++ 1 file changed, 2 insertions(+) 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; }