mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
avoid double free
This commit is contained in:
parent
d7fcc06dd0
commit
cbdd2a1005
1 changed files with 2 additions and 3 deletions
|
|
@ -606,10 +606,9 @@ static void notify(SalSubscribeOp *op, SalSubscribeStatus st, const char *eventn
|
|||
}
|
||||
{
|
||||
LinphoneContent *ct=linphone_content_from_sal_body_handler(body_handler);
|
||||
if (ct) {
|
||||
if (ct)
|
||||
linphone_core_notify_notify_received(lc,lev,eventname,ct);
|
||||
linphone_content_unref(ct);
|
||||
}
|
||||
|
||||
}
|
||||
if (out_of_dialog){
|
||||
/*out of dialog NOTIFY do not create an implicit subscription*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue