summaryrefslogtreecommitdiffstats
path: root/src/lua_worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-10 13:59:27 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-10 13:59:27 +0000
commit653ecce56f9215b189f9b0b556e79a6a7951e032 (patch)
treef3ba83cd151c128f6ac5cf17044aa31c8b30d915 /src/lua_worker.c
parent26a8dbfd045ae44a55dd3c690ac370806afa213f (diff)
downloadrspamd-653ecce56f9215b189f9b0b556e79a6a7951e032.tar.gz
rspamd-653ecce56f9215b189f9b0b556e79a6a7951e032.zip
[Fix] Plug termination memory leaks
Diffstat (limited to 'src/lua_worker.c')
-rw-r--r--src/lua_worker.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lua_worker.c b/src/lua_worker.c
index 296910761..624eb2082 100644
--- a/src/lua_worker.c
+++ b/src/lua_worker.c
@@ -356,7 +356,6 @@ start_lua_worker (struct rspamd_worker *worker)
L = worker->srv->cfg->lua_state;
ctx->L = L;
ctx->cfg = worker->srv->cfg;
- REF_RETAIN (ctx->cfg);
ctx->resolver = dns_resolver_init (worker->srv->logger,
ctx->ev_base,