From 12a910a0933681620bd07809ec8045ae63ae6c0b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 18 Aug 2014 15:22:09 -0700 Subject: Viva clang-3.4 --- src/libmime/message.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libmime/message.c') diff --git a/src/libmime/message.c b/src/libmime/message.c index 9f3df14e2..7ee31a26d 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -1237,7 +1237,8 @@ process_message (struct rspamd_task *task) else { /* We got only message, no mime headers or anything like this */ /* Construct fake message for it */ - task->message = g_mime_message_new (TRUE); + message = g_mime_message_new (TRUE); + task->message = message; if (task->from_envelope) { g_mime_message_set_sender (task->message, rspamd_task_get_sender (task)); -- cgit v1.2.3