diff options
Diffstat (limited to 'dev/iphone_id.c')
-rw-r--r-- | dev/iphone_id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/iphone_id.c b/dev/iphone_id.c index 1b8f8a1..f68fc8b 100644 --- a/dev/iphone_id.c +++ b/dev/iphone_id.c @@ -69,7 +69,7 @@ int main(int argc, char **argv) } if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { - iphone_free_device(phone); + iphone_device_free(phone); fprintf(stderr, "ERROR: Connecting to device failed!\n"); return -2; } @@ -80,7 +80,7 @@ int main(int argc, char **argv) } lockdownd_client_free(client); - iphone_free_device(phone); + iphone_device_free(phone); if (ret == 0) { printf("%s\n", devname); |