diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-25 11:52:02 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-25 11:52:02 +0000 |
commit | 615bd2b1b415698cbd0b37b51b53a2527642fd44 (patch) | |
tree | 01339fe88f93fbc9788d2120abca3692d54d64f1 /src/lua | |
parent | cca782250faf6a67162c28bc4156499d0b047fb4 (diff) | |
download | rspamd-615bd2b1b415698cbd0b37b51b53a2527642fd44.tar.gz rspamd-615bd2b1b415698cbd0b37b51b53a2527642fd44.zip |
Remove forgotten variables in lua stack.
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index ffba71754..19d0d09d0 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -294,6 +294,7 @@ rspamd_lua_set_path (lua_State *L, struct rspamd_config *cfg) if (strstr (old_path, RSPAMD_PLUGINSDIR) != NULL) { /* Path has been already set, do not touch it */ + lua_pop (L, 2); return; } |