mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix crash when receiving a NOTIFY for a closed subscription.
This commit is contained in:
parent
15d4773e77
commit
eb1f6822d7
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ static void process_request_event(void *sal, const belle_sip_request_event_t *ev
|
|||
|
||||
if (dialog) {
|
||||
op=(SalOp*)belle_sip_dialog_get_application_data(dialog);
|
||||
if (op==NULL && op->state==SalOpStateTerminated){
|
||||
if (op==NULL || op->state==SalOpStateTerminated){
|
||||
ms_warning("Receiving request for null or terminated op [%p], ignored",op);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue