Fixes #194 - Segmentation fault: 11

This commit is contained in:
Shazron Abdullah 2016-01-05 16:00:12 -08:00
parent 922f8483a7
commit a9e96416a8

View File

@ -1266,7 +1266,7 @@ service_conn_t start_house_arrest_service(AMDeviceRef device) {
CFStringRef cf_bundle_id = CFStringCreateWithCString(NULL, bundle_id, kCFStringEncodingUTF8);
if (AMDeviceStartHouseArrestService(device, cf_bundle_id, 0, &houseFd, 0) != 0)
{
on_error(@"Unable to find bundle with id: %@", bundle_id);
on_error(@"Unable to find bundle with id: %@", [NSString stringWithUTF8String:bundle_id]);
}
check_error(AMDeviceStopSession(device));