From 2575f4cbf0124aa21568f76a243980c679587759 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 27 Nov 2009 01:33:55 +0000 Subject: event_callback: Fix stack slot leak --- src/event_callback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3