diff options
author | Martin Szulecki | 2009-09-12 19:59:19 +0200 |
---|---|---|
committer | Martin Szulecki | 2009-09-12 19:59:19 +0200 |
commit | c8b8e947c0a0085ce21a04028b176793b4ad0b69 (patch) | |
tree | 371657a8b8b7d1e3c0977cf3d54618bf6543d983 | |
parent | a4a0e5a4449cea17c6030555f2c1a9669611d871 (diff) | |
download | libimobiledevice-c8b8e947c0a0085ce21a04028b176793b4ad0b69.tar.gz libimobiledevice-c8b8e947c0a0085ce21a04028b176793b4ad0b69.tar.bz2 |
Use correct usbmuxd function to free device list
-rw-r--r-- | src/iphone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iphone.c b/src/iphone.c index 80e3b26..586b3bc 100644 --- a/src/iphone.c +++ b/src/iphone.c @@ -111,7 +111,7 @@ iphone_error_t iphone_get_device_list(char ***devices, int *count) newlist[newcount++] = strdup(dev_list[i].uuid); *devices = newlist; } - usbmuxd_free_device_list(dev_list); + usbmuxd_device_list_free(&dev_list); *count = newcount; newlist = realloc(*devices, sizeof(char*) * (newcount+1)); |