aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_dns.c')
-rw-r--r--src/lua/lua_dns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_dns.c b/src/lua/lua_dns.c
index 2f2e54a1a..c52569225 100644
--- a/src/lua/lua_dns.c
+++ b/src/lua/lua_dns.c
@@ -200,6 +200,7 @@ lua_dns_callback (struct rdns_reply *reply, gpointer arg)
if (lua_pcall (cd->L, 5, 0, 0) != 0) {
msg_info ("call to dns callback failed: %s", lua_tostring (cd->L, -1));
+ lua_pop (cd->L, 1);
}
/* Unref function */