diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-21 12:45:29 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-21 12:45:29 +0000 |
commit | ae1869659867d4d6325911db6a4288fa26e5b4a9 (patch) | |
tree | 00edc8a5baa3205727ebf611e27e80c91773fe74 /src/lua/lua_dns.c | |
parent | 57deea9d3eb3825730bb29b64b8d97f5370c1ba5 (diff) | |
download | rspamd-ae1869659867d4d6325911db6a4288fa26e5b4a9.tar.gz rspamd-ae1869659867d4d6325911db6a4288fa26e5b4a9.zip |
Fix PTR resolving in lua resolver.
Diffstat (limited to 'src/lua/lua_dns.c')
-rw-r--r-- | src/lua/lua_dns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_dns.c b/src/lua/lua_dns.c index 17620a289..d06dc46fa 100644 --- a/src/lua/lua_dns.c +++ b/src/lua/lua_dns.c @@ -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); |