summaryrefslogtreecommitdiffstats
path: root/dev/iphoneinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/iphoneinfo.c')
-rw-r--r--dev/iphoneinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/iphoneinfo.c b/dev/iphoneinfo.c
index 52d7c8a..790804c 100644
--- a/dev/iphoneinfo.c
+++ b/dev/iphoneinfo.c
@@ -137,7 +137,7 @@ int main(int argc, char *argv[])
}
if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) {
- iphone_free_device(phone);
+ iphone_device_free(phone);
return -1;
}
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
if (domain != NULL)
free(domain);
lockdownd_client_free(client);
- iphone_free_device(phone);
+ iphone_device_free(phone);
return 0;
}