aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-21 12:38:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-21 12:38:05 +0100
commitf5c26fc39608aca98900da83bb3844f71d9d2ce1 (patch)
tree71af51e7cd3abc1a3afa81c64aa58e1617e7bde2 /src/libserver
parentce2f8006a30476cde0e5ab87e1403b90e2514a0e (diff)
downloadrspamd-f5c26fc39608aca98900da83bb3844f71d9d2ce1.tar.gz
rspamd-f5c26fc39608aca98900da83bb3844f71d9d2ce1.zip
[Fix] Another try to fix RDNS events processing logic
Issue: #971 MFH: true
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/dns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/dns.c b/src/libserver/dns.c
index c0fdceebd..13d1b8309 100644
--- a/src/libserver/dns.c
+++ b/src/libserver/dns.c
@@ -53,6 +53,7 @@ rspamd_dns_fin_cb (gpointer arg)
struct rspamd_dns_request_ud *reqdata = (struct rspamd_dns_request_ud *)arg;
rdns_request_release (reqdata->req);
+
if (reqdata->pool == NULL) {
g_slice_free1 (sizeof (struct rspamd_dns_request_ud), reqdata);
}