aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-27 01:33:55 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-27 01:33:55 +0000
commit2575f4cbf0124aa21568f76a243980c679587759 (patch)
treed5257d91a2ab18cd22b30cb83407bd0f847baee7
parent6a0484672751e17fbd8d410335be658528999528 (diff)
downloadluaevent-prosody-2575f4cbf0124aa21568f76a243980c679587759.tar.gz
luaevent-prosody-2575f4cbf0124aa21568f76a243980c679587759.zip
event_callback: Fix stack slot leak
-rw-r--r--src/event_callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event_callback.c b/src/event_callback.c
index 76a7789..b1cdd02 100644
--- a/src/event_callback.c
+++ b/src/event_callback.c
@@ -43,7 +43,7 @@ void luaevent_callback(int fd, short event, void* p) {
load_timeval(newTimeout, &cb->timeout);
}
}
- lua_pop(L, 1);
+ lua_pop(L, 2);
if(ret == -1) {
freeCallbackArgs(cb, L);
} else {