mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
fix crash when LinphoneConference object is created from wrapper.
This commit is contained in:
parent
6ded1d490d
commit
9abc48cc94
1 changed files with 1 additions and 0 deletions
|
|
@ -7085,6 +7085,7 @@ LinphoneStatus linphone_core_add_to_conference(LinphoneCore *lc, LinphoneCall *c
|
|||
LinphoneConferenceParams *params = linphone_conference_params_new(lc);
|
||||
conference = linphone_core_create_conference_with_params(lc, params);
|
||||
linphone_conference_params_unref(params);
|
||||
linphone_conference_unref(conference); /*actually linphone_core_create_conference_with_params() takes a ref for lc->conf_ctx */
|
||||
}
|
||||
if(conference) return linphone_conference_add_participant(lc->conf_ctx, call);
|
||||
else return -1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue