From 28a09301501c01c5eb9ef6d20d1346200a2c5dce Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 5 May 2016 09:27:00 +0100 Subject: [PATCH] [Fix] Cleanup stack from global vars --- src/lua/lua_cfg_file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lua/lua_cfg_file.c b/src/lua/lua_cfg_file.c index b3897d6e8a..b53606470f 100644 --- a/src/lua/lua_cfg_file.c +++ b/src/lua/lua_cfg_file.c @@ -198,6 +198,8 @@ rspamd_lua_post_load_config (struct rspamd_config *cfg) } } } + + lua_settop (L, 0); } /* Handle lua dynamic config param */ -- 2.47.3