diff options
Diffstat (limited to 'dev/syslog_relay.c')
| -rw-r--r-- | dev/syslog_relay.c | 4 |
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[]) | |||
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { | 103 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { |
| 104 | iphone_free_device(phone); | 104 | iphone_device_free(phone); |
| 105 | return -1; | 105 | return -1; |
| 106 | } | 106 | } |
| 107 | 107 | ||
| @@ -148,7 +148,7 @@ int main(int argc, char *argv[]) | |||
| 148 | printf("ERROR: Could not start service com.apple.syslog_relay.\n"); | 148 | printf("ERROR: Could not start service com.apple.syslog_relay.\n"); |
| 149 | } | 149 | } |
| 150 | 150 | ||
| 151 | iphone_free_device(phone); | 151 | iphone_device_free(phone); |
| 152 | 152 | ||
| 153 | return 0; | 153 | return 0; |
| 154 | } | 154 | } |
