diff options
author | Joshua Hill | 2010-05-24 15:34:22 -0400 |
---|---|---|
committer | Joshua Hill | 2010-05-24 15:34:22 -0400 |
commit | 473ad5b0a574e03c68baa31dcfc4a3024ce131a7 (patch) | |
tree | 00d1b11f8efc28ce159fdb9a1e59344df2c6e566 /src | |
parent | 77df9a41d90ac645d69aa86dd9bb9ee09a9fb735 (diff) | |
download | libirecovery-473ad5b0a574e03c68baa31dcfc4a3024ce131a7.tar.gz libirecovery-473ad5b0a574e03c68baa31dcfc4a3024ce131a7.tar.bz2 |
ooops forgot to cleanup usb context
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) { } if (client->context != NULL) { - libusb_exit(NULL); + libusb_exit(client->context); client->context = NULL; } |