diff options
-rw-r--r-- | src/libirecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index f4d1cca..78745b1 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c @@ -153,7 +153,7 @@ irecv_error_t irecv_close(irecv_client_t client) { } if (client->context != NULL) { - libusb_exit(NULL); + libusb_exit(client->context); client->context = NULL; } |