mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 17:59:21 +00:00
fix invalid read in Sal destruction
This commit is contained in:
parent
09025ed3c8
commit
7c27d3c9bc
2 changed files with 1 additions and 2 deletions
|
|
@ -118,7 +118,6 @@ void Sal::process_request_event_cb (void *ud, const belle_sip_request_event_t *e
|
|||
op->fill_cbs();
|
||||
}else if (strcmp("REFER",method)==0) {
|
||||
op=new SalReferOp(sal);
|
||||
op->fill_cbs();
|
||||
}else if (strcmp("OPTIONS",method)==0) {
|
||||
resp=belle_sip_response_create_from_request(req,200);
|
||||
belle_sip_provider_send_response(sal->prov,resp);
|
||||
|
|
|
|||
|
|
@ -1388,7 +1388,7 @@ static void on_refer_received(SalOp *op, const SalAddress *refer_to) {
|
|||
Sal *sal = sal_op_get_sal(op);
|
||||
LinphoneCoreManager *receiver = (LinphoneCoreManager*)sal_get_user_pointer(sal);
|
||||
receiver->stat.number_of_LinphoneCallRefered++;
|
||||
sal_release_op(op);
|
||||
|
||||
}
|
||||
|
||||
void resend_refer_other_devices(void) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue