mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Don't retain the chatroom, we don't need to
This commit is contained in:
parent
dd5aa550dc
commit
87c75b2e1e
1 changed files with 1 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ static int sorted_history_comparison(LinphoneChatRoom *to_insert, LinphoneChatRo
|
|||
ms_list_free_with_data(history, (void (*)(void *))linphone_chat_message_unref);
|
||||
|
||||
sorted = ms_list_insert_sorted(sorted,
|
||||
linphone_chat_room_ref(iter->data),
|
||||
iter->data,
|
||||
(MSCompareFunc)sorted_history_comparison);
|
||||
|
||||
iter = iter->next;
|
||||
|
|
@ -91,7 +91,6 @@ static void chatTable_free_chatrooms(void *data){
|
|||
linphone_chat_message_unref(linphone_chat_room_get_user_data(data));
|
||||
linphone_chat_room_set_user_data(data, NULL);
|
||||
}
|
||||
linphone_chat_room_unref(data);
|
||||
}
|
||||
|
||||
- (void)loadData {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue