aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-23 20:06:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-23 20:06:34 +0100
commit3944ae59e74c31103d3bd10fe4dd025b05d74679 (patch)
tree6556701646c1d1b3d35d5b8766236a1995ef88bf /src/libserver
parente9c773e6bb0e09b4802f3cb06b93b7a082e464ed (diff)
downloadrspamd-3944ae59e74c31103d3bd10fe4dd025b05d74679.tar.gz
rspamd-3944ae59e74c31103d3bd10fe4dd025b05d74679.zip
[Project] Further changes in unicode operations
* Normalise unicode * Add normality flag for text parts * Store UCS in text parts * Rework unicode conversions and operations
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/task.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 82a80d059..bfeec990b 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -254,6 +254,9 @@ rspamd_task_free (struct rspamd_task *task)
if (tp->languages) {
g_ptr_array_unref (tp->languages);
}
+ if (tp->ucs_raw_content) {
+ g_array_free (tp->ucs_raw_content, TRUE);
+ }
}
if (task->rcpt_envelope) {