mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix double free of a chat message
This commit is contained in:
parent
17e4a1ff6c
commit
a8088c83db
1 changed files with 0 additions and 1 deletions
|
|
@ -670,7 +670,6 @@ LinphoneReason linphone_core_message_received(LinphoneCore *lc, SalOp *op, const
|
|||
/* Check if this is a duplicate message */
|
||||
if ((msg = linphone_chat_room_find_message_with_dir(cr, sal_op_get_call_id(op), LinphoneChatMessageIncoming))) {
|
||||
reason = lc->chat_deny_code;
|
||||
linphone_chat_message_unref(msg);
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue