From: Vsevolod Stakhov Date: Sat, 18 Apr 2015 12:51:53 +0000 (+0100) Subject: Fix ucl from lua arrays. X-Git-Tag: 0.9.0~211 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b48bec57d58d6a8d50f8ca19689caf32301bc8bc;p=rspamd.git Fix ucl from lua arrays. --- 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 {