summaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-25 11:52:02 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-25 11:52:02 +0000
commit615bd2b1b415698cbd0b37b51b53a2527642fd44 (patch)
tree01339fe88f93fbc9788d2120abca3692d54d64f1 /src/lua
parentcca782250faf6a67162c28bc4156499d0b047fb4 (diff)
downloadrspamd-615bd2b1b415698cbd0b37b51b53a2527642fd44.tar.gz
rspamd-615bd2b1b415698cbd0b37b51b53a2527642fd44.zip
Remove forgotten variables in lua stack.
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_common.c1
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;
}