mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-30 07:46:22 +00:00
fix crash when calling itself...
This commit is contained in:
parent
af8046d7fd
commit
4d90b7f873
1 changed files with 3 additions and 1 deletions
|
|
@ -506,7 +506,9 @@ static void call_failure(SalOp *op, SalError error, SalReason sr, const char *de
|
|||
|
||||
static void call_released(SalOp *op){
|
||||
LinphoneCall *call=(LinphoneCall*)sal_op_get_user_pointer(op);
|
||||
linphone_call_set_state(call,LinphoneCallReleased,"Call released");
|
||||
if (call!=NULL){
|
||||
linphone_call_set_state(call,LinphoneCallReleased,"Call released");
|
||||
}else ms_error("call_released() for already destroyed call ?");
|
||||
}
|
||||
|
||||
static void auth_requested(SalOp *h, const char *realm, const char *username){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue