mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix compilation issue.
This commit is contained in:
parent
5193bb34e1
commit
29b27b752c
1 changed files with 2 additions and 2 deletions
|
|
@ -649,7 +649,7 @@ LinphoneReason linphone_core_message_received(LinphoneCore *lc, SalOp *op, const
|
|||
LinphoneChatRoom *cr = NULL;
|
||||
LinphoneAddress *addr;
|
||||
LinphoneAddress *to;
|
||||
LinphoneChatMessage *msg;
|
||||
LinphoneChatMessage *msg = NULL;
|
||||
LinphoneImEncryptionEngine *imee = lc->im_encryption_engine;
|
||||
const SalCustomHeader *ch;
|
||||
LinphoneReason reason = LinphoneReasonNone;
|
||||
|
|
@ -737,7 +737,7 @@ LinphoneReason linphone_core_message_received(LinphoneCore *lc, SalOp *op, const
|
|||
|
||||
end:
|
||||
linphone_address_unref(addr);
|
||||
linphone_chat_message_unref(msg);
|
||||
if (msg != NULL) linphone_chat_message_unref(msg);
|
||||
return reason;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue