From 615bd2b1b415698cbd0b37b51b53a2527642fd44 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 25 Feb 2015 11:52:02 +0000 Subject: [PATCH] Remove forgotten variables in lua stack. --- src/lua/lua_common.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5