summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/iphone.c2
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));