From f68bdec57b7fd1cd6ea1102741659dcbf47f3a16 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Wed, 3 Oct 2018 17:14:29 +0200 Subject: [PATCH] fix crash --- Classes/LinphoneAppDelegate.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index f48979be3..ca5863cff 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -685,6 +685,9 @@ userInfo:sheet repeats:NO]; } else if ([response.notification.request.content.categoryIdentifier isEqual:@"zrtp_request"]) { + if (!call) + return; + NSString *code = [NSString stringWithUTF8String:linphone_call_get_authentication_token(call)]; NSString *myCode; NSString *correspondantCode;