summaryrefslogtreecommitdiffstats
path: root/src/plugins/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-14 18:08:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-14 18:08:24 +0100
commita3ce6d43de5afb2b387e2a07cedab9004c4a0cb5 (patch)
tree438e60828cf056d342585de76b625a696a97206f /src/plugins/spf.c
parent1548a8c492cdd76d1cacdaddfc1ae00285e68549 (diff)
downloadrspamd-a3ce6d43de5afb2b387e2a07cedab9004c4a0cb5.tar.gz
rspamd-a3ce6d43de5afb2b387e2a07cedab9004c4a0cb5.zip
[Fix] Plug memory leak in lua_tcp
Diffstat (limited to 'src/plugins/spf.c')
-rw-r--r--src/plugins/spf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/spf.c b/src/plugins/spf.c
index 097df7329..41e952eb2 100644
--- a/src/plugins/spf.c
+++ b/src/plugins/spf.c
@@ -539,6 +539,7 @@ spf_plugin_callback (struct spf_resolved *record, struct rspamd_task *task,
}
}
+
spf_record_ref (l);
spf_check_list (l, task);
spf_record_unref (l);