Commit 29b27b75 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix compilation issue.

parent 5193bb34
......@@ -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;
}
......
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