summaryrefslogtreecommitdiffstats
path: root/src/lmtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lmtp.c')
-rw-r--r--src/lmtp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lmtp.c b/src/lmtp.c
index 636681c07..9f7a4805a 100644
--- a/src/lmtp.c
+++ b/src/lmtp.c
@@ -98,9 +98,6 @@ free_lmtp_task (struct rspamd_lmtp_proto *lmtp, gboolean is_soft)
if (lmtp) {
debug_task ("free pointer %p", lmtp->task);
- if (lmtp->task->memc_ctx) {
- memc_close_ctx (lmtp->task->memc_ctx);
- }
while ((part = g_list_first (lmtp->task->parts))) {
lmtp->task->parts = g_list_remove_link (lmtp->task->parts, part);
p = (struct mime_part *)part->data;