diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-27 01:33:55 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-27 01:33:55 +0000 |
commit | 2575f4cbf0124aa21568f76a243980c679587759 (patch) | |
tree | d5257d91a2ab18cd22b30cb83407bd0f847baee7 /src/event_callback.c | |
parent | 6a0484672751e17fbd8d410335be658528999528 (diff) | |
download | luaevent-prosody-2575f4cbf0124aa21568f76a243980c679587759.tar.gz luaevent-prosody-2575f4cbf0124aa21568f76a243980c679587759.zip |
event_callback: Fix stack slot leak
Diffstat (limited to 'src/event_callback.c')
-rw-r--r-- | src/event_callback.c | 2 |
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 { |