aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.c b/src/protocol.c
index b0b70954c..db1fa0bfd 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -560,7 +560,7 @@ make_rewritten_subject (struct metric *metric, struct worker_task *task)
}
res = g_mime_utils_header_encode_text (subj_buf);
- memory_pool_add_destructor (task->task_pool, (pool_destruct_func)g_free, res);
+ rspamd_mempool_add_destructor (task->task_pool, (rspamd_mempool_destruct_t)g_free, res);
return res;
}