summaryrefslogtreecommitdiffstats
path: root/dev/syslog_relay.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/syslog_relay.c')
-rw-r--r--dev/syslog_relay.c4
1 files changed, 2 insertions, 2 deletions
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;
}