]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Cleanup stack from global vars
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 May 2016 08:27:00 +0000 (09:27 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 May 2016 08:27:00 +0000 (09:27 +0100)
src/lua/lua_cfg_file.c

index b3897d6e8af1ba9d7546c7ffe3b0f79e3ba824c2..b53606470f91a54196c9761d81d9aff44db81da0 100644 (file)
@@ -198,6 +198,8 @@ rspamd_lua_post_load_config (struct rspamd_config *cfg)
                        }
                }
        }
+
+       lua_settop (L, 0);
 }
 
 /* Handle lua dynamic config param */