aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-24 19:45:30 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-24 19:45:30 +0300
commit3f610ca7f6341261112fc372a8f53b5c40fb6be6 (patch)
tree9c231f781c7c4be94b05b30dad6076f4206310d0 /src/message.c
parent121efbcddf8ec41eea91aa80574dab3730bf8976 (diff)
downloadrspamd-3f610ca7f6341261112fc372a8f53b5c40fb6be6.tar.gz
rspamd-3f610ca7f6341261112fc372a8f53b5c40fb6be6.zip
Fix several memory leaks in rspamd.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index a7b4d625e..0a88ab0f7 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1015,8 +1015,8 @@ process_message (struct worker_task *task)
if (task->raw_headers) {
memory_pool_add_destructor (task->task_pool, (pool_destruct_func) g_free, task->raw_headers);
- memory_pool_add_destructor (task->task_pool, (pool_destruct_func) g_list_free, task->raw_headers_list);
process_raw_headers (task);
+ memory_pool_add_destructor (task->task_pool, (pool_destruct_func) g_list_free, task->raw_headers_list);
}
task->rcpts = g_mime_message_get_all_recipients (message);