diff options
Diffstat (limited to 'src')
| -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) { | |||
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | if (client->context != NULL) { | 155 | if (client->context != NULL) { |
| 156 | libusb_exit(NULL); | 156 | libusb_exit(client->context); |
| 157 | client->context = NULL; | 157 | client->context = NULL; |
| 158 | } | 158 | } |
| 159 | 159 | ||
