Commit 4d90b7f8 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix crash when calling itself...

parent af8046d7
......@@ -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){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment