diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-05 09:27:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-05 09:27:00 +0100 |
commit | 28a09301501c01c5eb9ef6d20d1346200a2c5dce (patch) | |
tree | 70528c247e690f2bfa667e9dcb179c0ace384ad4 /src/lua/lua_cfg_file.c | |
parent | 839e4775b77c3b1fe256c640ab9920ebb6e51afb (diff) | |
download | rspamd-28a09301501c01c5eb9ef6d20d1346200a2c5dce.tar.gz rspamd-28a09301501c01c5eb9ef6d20d1346200a2c5dce.zip |
[Fix] Cleanup stack from global vars
Diffstat (limited to 'src/lua/lua_cfg_file.c')
-rw-r--r-- | src/lua/lua_cfg_file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_cfg_file.c b/src/lua/lua_cfg_file.c index b3897d6e8..b53606470 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 */ |