@@ -237,6 +237,7 @@ lua_dns_resolver_resolve_common (lua_State *L, | |||
return 1; | |||
} | |||
cbdata->to_resolve = rspamd_mempool_strdup (pool, ptr_str); | |||
to_resolve = cbdata->to_resolve; | |||
free (ptr_str); | |||
} | |||
lua_pushvalue (L, first + 3); |
@@ -55,7 +55,7 @@ local function check_quantity_received (task) | |||
else | |||
task:insert_result(symbol_strict, 1) | |||
end | |||
return | |||
return | |||
end | |||
local i = true |