mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix crash because of unref of event.
This commit is contained in:
parent
9abc48cc94
commit
84441343ad
1 changed files with 0 additions and 1 deletions
|
|
@ -1138,7 +1138,6 @@ static void register_failure(SalOp *op){
|
|||
if (cfg->long_term_event){
|
||||
/*prevent publish to be sent now until registration gets successful*/
|
||||
linphone_event_terminate(cfg->long_term_event);
|
||||
linphone_event_unref(cfg->long_term_event);
|
||||
cfg->long_term_event=NULL;
|
||||
cfg->send_publish=cfg->publish;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue