From b35299b4e3a6cf75cfa19783dda35411508d2913 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 5 Feb 2016 12:42:43 +0000 Subject: Fix leaks in lua error paths --- src/rspamadm/rspamadm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rspamadm') diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c index 37b455788..d91b66304 100644 --- a/src/rspamadm/rspamadm.c +++ b/src/rspamadm/rspamadm.c @@ -248,7 +248,7 @@ rspamadm_execute_lua_ucl_subr (gpointer pL, gint argc, gchar **argv, g_string_free (tb, TRUE); } - lua_pop (L, 1); + lua_pop (L, 2); return FALSE; } -- cgit v1.2.3