mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-21 12:58:24 +00:00
fix crash
This commit is contained in:
parent
8fb50e2e79
commit
e132ecc181
1 changed files with 4 additions and 2 deletions
|
|
@ -855,14 +855,16 @@ static void call_failure(SalOp *op){
|
||||||
char *msg600=_("User does not want to be disturbed.");
|
char *msg600=_("User does not want to be disturbed.");
|
||||||
char *msg603=_("Call declined.");
|
char *msg603=_("Call declined.");
|
||||||
const char *msg=ei->full_string;
|
const char *msg=ei->full_string;
|
||||||
|
LinphoneCall *referer;
|
||||||
LinphoneCall *call=(LinphoneCall*)sal_op_get_user_pointer(op);
|
LinphoneCall *call=(LinphoneCall*)sal_op_get_user_pointer(op);
|
||||||
LinphoneCall *referer=call->referer;
|
|
||||||
|
|
||||||
if (call==NULL){
|
if (call==NULL){
|
||||||
ms_warning("Call faillure reported on already terminated call.");
|
ms_warning("Call faillure reported on already terminated call.");
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
referer=call->referer;
|
||||||
|
|
||||||
linphone_core_notify_show_interface(lc);
|
linphone_core_notify_show_interface(lc);
|
||||||
switch(ei->reason){
|
switch(ei->reason){
|
||||||
case SalReasonNone:
|
case SalReasonNone:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue