From: Vsevolod Stakhov Date: Wed, 25 Feb 2015 11:52:02 +0000 (+0000) Subject: Remove forgotten variables in lua stack. X-Git-Tag: 0.9.0~628 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=615bd2b1b415698cbd0b37b51b53a2527642fd44;p=thirdparty%2Frspamd.git Remove forgotten variables in lua stack. --- diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index ffba71754c..19d0d09d06 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; }