aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pbx/pbx_lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c
index 13158d758..5f8a07c04 100644
--- a/pbx/pbx_lua.c
+++ b/pbx/pbx_lua.c
@@ -1208,6 +1208,7 @@ static int exec(struct ast_channel *chan, const char *context, const char *exten
ast_log(LOG_ERROR, "Error executing lua extension: %s\n", error);
res = -1;
}
+ lua_pop(L, 1);
} else {
res = -1;
}