aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libucl/lua_ucl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-18 13:51:53 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-18 13:51:53 +0100
commitb48bec57d58d6a8d50f8ca19689caf32301bc8bc (patch)
treef9eeb98787390c666f93b440870b351983d39b33 /contrib/libucl/lua_ucl.c
parent92ba37c087674acafedb042bdb85433871dd4f44 (diff)
downloadrspamd-b48bec57d58d6a8d50f8ca19689caf32301bc8bc.tar.gz
rspamd-b48bec57d58d6a8d50f8ca19689caf32301bc8bc.zip
Fix ucl from lua arrays.
Diffstat (limited to 'contrib/libucl/lua_ucl.c')
-rw-r--r--contrib/libucl/lua_ucl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libucl/lua_ucl.c b/contrib/libucl/lua_ucl.c
index 1f79b0e16..1cb716b24 100644
--- a/contrib/libucl/lua_ucl.c
+++ b/contrib/libucl/lua_ucl.c
@@ -336,6 +336,7 @@ ucl_object_lua_fromtable (lua_State *L, int idx)
if (obj != NULL) {
ucl_array_append (top, obj);
}
+ lua_pop (L, 1);
}
}
else {