summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libirecovery.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index db1b118..d36234f 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -1405,13 +1405,12 @@ IRECV_API irecv_error_t irecv_open_with_ecid(irecv_client_t* pclient, unsigned l
1405 } 1405 }
1406 1406
1407 *pclient = client; 1407 *pclient = client;
1408
1409 libusb_free_device_list(usb_device_list, 1);
1410
1411 ret = IRECV_E_SUCCESS; 1408 ret = IRECV_E_SUCCESS;
1409 break;
1412 } 1410 }
1413 } 1411 }
1414 } 1412 }
1413 libusb_free_device_list(usb_device_list, 1);
1415#endif 1414#endif
1416#else 1415#else
1417 ret = mobiledevice_connect(pclient, ecid); 1416 ret = mobiledevice_connect(pclient, ecid);