aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorcebka@lenovo-laptop <cebka@lenovo-laptop>2010-02-17 18:57:05 +0300
committercebka@lenovo-laptop <cebka@lenovo-laptop>2010-02-17 18:57:05 +0300
commit94edb9f04b2144be4a78556653451456738ba767 (patch)
tree59418513a28438035b0cdde8ef408622ebb2f52b /src/worker.c
parent3ec2330431b62e442f4fdea41cacab152cbcee55 (diff)
downloadrspamd-94edb9f04b2144be4a78556653451456738ba767.tar.gz
rspamd-94edb9f04b2144be4a78556653451456738ba767.zip
* Add ability to add custom messages to rspamd output
* Add messages from spf checks
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c
index 92c80bc32..0f1be1047 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -214,6 +214,9 @@ free_task (struct worker_task *task, gboolean is_soft)
if (task->urls) {
g_list_free (task->urls);
}
+ if (task->messages) {
+ g_list_free (task->messages);
+ }
memory_pool_delete (task->task_pool);
if (task->dispatcher) {
if (is_soft) {