Commit 654990ac authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

chat.c: fix invalid logging each time a chat room is destroyed

parent 879dd2cb
......@@ -495,8 +495,8 @@ static void _linphone_chat_room_destroy(LinphoneChatRoom *cr){
" linphone_core_get_chat_room() doesn't give a reference, there is no need to call linphone_chat_room_unref(). "
"In order to remove a chat room from the core, use linphone_core_delete_chat_room().",
cr);
cr->lc->chatrooms=ms_list_remove(cr->lc->chatrooms, cr);
}
cr->lc->chatrooms=ms_list_remove(cr->lc->chatrooms, cr);
}
linphone_address_destroy(cr->peer_url);
ms_free(cr->peer);
......
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