]> source.dussan.org Git - rspamd.git/commitdiff
Fix ucl from lua arrays.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Apr 2015 12:51:53 +0000 (13:51 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Apr 2015 12:51:53 +0000 (13:51 +0100)
contrib/libucl/lua_ucl.c

index 1f79b0e16ad3e5dfc29d5c3059374d09ddc0420c..1cb716b2479427d449cef59c80be73d966a81ed5 100644 (file)
@@ -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 {