aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-26 16:40:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-26 16:40:51 +0000
commit2dcb09b6eae0b21d4da68f9323be4cbfeb2b4237 (patch)
tree0a3751d753308c7b26c9b6495a06ac7d64345184 /src/libserver/task.c
parentd2f95b4a010032f96a947b8ac63e1da51af14ad5 (diff)
downloadrspamd-2dcb09b6eae0b21d4da68f9323be4cbfeb2b4237.tar.gz
rspamd-2dcb09b6eae0b21d4da68f9323be4cbfeb2b4237.zip
[Project] Use more generalised API to produce meta words
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r--src/libserver/task.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 6135bced4..664715fea 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -282,6 +282,10 @@ rspamd_task_free (struct rspamd_task *task)
rspamd_email_address_free (task->from_envelope);
}
+ if (task->meta_words) {
+ g_array_free (task->meta_words, TRUE);
+ }
+
ucl_object_unref (task->messages);
if (task->re_rt) {