mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix crash when sending a chat message
This commit is contained in:
parent
55c771d5ec
commit
e1ffff8c34
1 changed files with 1 additions and 1 deletions
|
|
@ -67,10 +67,10 @@
|
|||
}
|
||||
|
||||
if (_message) {
|
||||
linphone_chat_message_unref(_message);
|
||||
CFBridgingRelease(linphone_chat_message_get_user_data(_message));
|
||||
linphone_chat_message_set_user_data(_message, NULL);
|
||||
linphone_chat_message_cbs_set_msg_state_changed(linphone_chat_message_get_callbacks(_message), NULL);
|
||||
linphone_chat_message_unref(_message);
|
||||
}
|
||||
|
||||
_message = amessage;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue