aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-16 13:44:16 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-16 13:44:16 +0000
commit99a740ed5d4bbdeee3ede37d6ca77d148d300c13 (patch)
treee50a0304a8ff6b5bec8cdb3684df0fd125c5df0a /src/libserver
parent51a013a8981deb100e8c284776071cc43c8c8a2b (diff)
downloadrspamd-99a740ed5d4bbdeee3ede37d6ca77d148d300c13.tar.gz
rspamd-99a740ed5d4bbdeee3ede37d6ca77d148d300c13.zip
[Rework] Start massive rework to get rid of gmime
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/task.c4
-rw-r--r--src/libserver/task.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index bcf66aee8..cee604acd 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -200,10 +200,6 @@ rspamd_task_free (struct rspamd_task *task)
for (i = 0; i < task->parts->len; i ++) {
p = g_ptr_array_index (task->parts, i);
- if (p->content) {
- g_byte_array_free (p->content, TRUE);
- }
-
if (p->raw_headers) {
g_hash_table_unref (p->raw_headers);
}
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 341edcc7d..e7df63719 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -141,7 +141,6 @@ struct rspamd_task {
rspamd_ftok_t msg; /**< message buffer */
struct rspamd_http_connection *http_conn; /**< HTTP server connection */
struct rspamd_async_session * s; /**< async session object */
- GMimeMessage *message; /**< message, parsed with GMime */
GPtrArray *parts; /**< list of parsed parts */
GPtrArray *text_parts; /**< list of text parts */
struct {