Commit 2f39f845 authored by Ghislain MARY's avatar Ghislain MARY

Fix crash in linphone_core_report_call_log().

parent 66a6499f
......@@ -917,7 +917,7 @@ void linphone_core_report_call_log(LinphoneCore *lc, LinphoneCallLog *call_log){
linphone_address_unref(conference_factory_addr);
}
const char *username = linphone_address_get_username(call_log->to);
if (strstr(username, "chatroom-") == username)
if (username && (strstr(username, "chatroom-") == username))
return;
// End of workaround
......
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