From b48bec57d58d6a8d50f8ca19689caf32301bc8bc Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 18 Apr 2015 13:51:53 +0100 Subject: Fix ucl from lua arrays. --- contrib/libucl/lua_ucl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/libucl') 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 { -- cgit v1.2.3