Commit 7e5d9f5f authored by Ghislain MARY's avatar Ghislain MARY

Avoid an other crash of conference factory URI is not set.

parent 43c09c49
......@@ -2216,7 +2216,8 @@ static void linphone_core_internal_notify_received(LinphoneCore *lc, LinphoneEve
} else if (strcmp(notified_event, "conference") == 0) {
const LinphoneAddress *resource = linphone_event_get_resource(lev);
char *resourceAddrStr = linphone_address_as_string_uri_only(resource);
if (strcmp(resourceAddrStr, linphone_proxy_config_get_conference_factory_uri(linphone_core_get_default_proxy_config(lc))) == 0) {
const char *factoryUri = linphone_proxy_config_get_conference_factory_uri(linphone_core_get_default_proxy_config(lc));
if (factoryUri && (strcmp(resourceAddrStr, factoryUri) == 0)) {
bctbx_free(resourceAddrStr);
L_GET_PRIVATE_FROM_C_OBJECT(lc)->remoteListEventHandler->notifyReceived(L_GET_CPP_PTR_FROM_C_OBJECT(body));
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment