summaryrefslogtreecommitdiffstats
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/afccheck.c6
-rw-r--r--dev/iphone_id.c4
-rw-r--r--dev/iphoneinfo.c4
-rw-r--r--dev/lckdclient.c4
-rw-r--r--dev/main.c4
-rw-r--r--dev/msyncclient.c4
-rw-r--r--dev/syslog_relay.c4
7 files changed, 15 insertions, 15 deletions
diff --git a/dev/afccheck.c b/dev/afccheck.c
index 370742b..067dd5b 100644
--- a/dev/afccheck.c
+++ b/dev/afccheck.c
@@ -105,13 +105,13 @@ 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;
}
if (LOCKDOWN_E_SUCCESS == lockdownd_start_service(client, "com.apple.afc", &port) && !port) {
lockdownd_client_free(client);
- iphone_free_device(phone);
+ iphone_device_free(phone);
fprintf(stderr, "Something went wrong when starting AFC.");
return 1;
}
@@ -137,7 +137,7 @@ int main(int argc, char *argv[])
}
lockdownd_client_free(client);
- iphone_free_device(phone);
+ iphone_device_free(phone);
return 0;
}
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);
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;
}
diff --git a/dev/lckdclient.c b/dev/lckdclient.c
index 4dcb0b4..b880253 100644
--- a/dev/lckdclient.c
+++ b/dev/lckdclient.c
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
free(uuid);
if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) {
- iphone_free_device(phone);
+ iphone_device_free(phone);
return -1;
}
@@ -109,7 +109,7 @@ int main(int argc, char *argv[])
}
clear_history();
lockdownd_client_free(client);
- iphone_free_device(phone);
+ iphone_device_free(phone);
return 0;
}
diff --git a/dev/main.c b/dev/main.c
index 69b0b80..5551ed9 100644
--- a/dev/main.c
+++ b/dev/main.c
@@ -88,7 +88,7 @@ int main(int argc, char *argv[])
free(uuid);
if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) {
- iphone_free_device(phone);
+ iphone_device_free(phone);
printf("Exiting.\n");
return -1;
}
@@ -249,7 +249,7 @@ int main(int argc, char *argv[])
printf("All done.\n");
lockdownd_client_free(client);
- iphone_free_device(phone);
+ iphone_device_free(phone);
return 0;
}
diff --git a/dev/msyncclient.c b/dev/msyncclient.c
index 6ab7c79..5fffe7a 100644
--- a/dev/msyncclient.c
+++ b/dev/msyncclient.c
@@ -142,7 +142,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;
}
@@ -162,7 +162,7 @@ int main(int argc, char *argv[])
printf("All done.\n");
lockdownd_client_free(client);
- iphone_free_device(phone);
+ iphone_device_free(phone);
return 0;
}
diff --git a/dev/syslog_relay.c b/dev/syslog_relay.c
index 0c41c94..58a2544 100644
--- a/dev/syslog_relay.c
+++ b/dev/syslog_relay.c
@@ -101,7 +101,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;
}
@@ -148,7 +148,7 @@ int main(int argc, char *argv[])
printf("ERROR: Could not start service com.apple.syslog_relay.\n");
}
- iphone_free_device(phone);
+ iphone_device_free(phone);
return 0;
}