summaryrefslogtreecommitdiff
path: root/pbx/pbx_lua.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2008-09-25 21:54:11 +0000
committerSteve Murphy <murf@digium.com>2008-09-25 21:54:11 +0000
commita36696f2e7b89ec2cc2fb4cdb3e00147f12db269 (patch)
tree46b153dbd5e274b46e4f1552d4b9e52eb9ff9ce6 /pbx/pbx_lua.c
parent38028fa641713f0b3bd761c4f680120763d2980a (diff)
(closes issue #13559)
Reported by: mnicholson Patches: pbx_lua8.diff uploaded by mnicholson (license 96) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@144563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_lua.c')
-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;
}