aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-30 13:22:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-30 13:22:05 +0100
commit4895d62cd9d69476df343f4588f8747143c783f1 (patch)
treea8083c7ee170eb4408b7ec312f01475f6190cf35 /src/lua
parent1b39b28f6796c2a849af88a0cddb62210c9d7307 (diff)
downloadrspamd-4895d62cd9d69476df343f4588f8747143c783f1.tar.gz
rspamd-4895d62cd9d69476df343f4588f8747143c783f1.zip
[Minor] Oops, fix unref logic
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_dns_resolver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lua/lua_dns_resolver.c b/src/lua/lua_dns_resolver.c
index 9c57a2c7e..75f7a3b6b 100644
--- a/src/lua/lua_dns_resolver.c
+++ b/src/lua/lua_dns_resolver.c
@@ -477,7 +477,6 @@ lua_dns_resolver_resolve_common (lua_State *L,
if (ret) {
cbdata->s = session;
-
if (item) {
cbdata->item = item;
rspamd_symcache_item_async_inc (task, item, M);