From f5c26fc39608aca98900da83bb3844f71d9d2ce1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 21 Sep 2016 12:38:05 +0100 Subject: [Fix] Another try to fix RDNS events processing logic Issue: #971 MFH: true --- src/libserver/dns.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libserver') 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); } -- cgit v1.2.3