From d98c28ef86041f17e261fc04d061c531b976e60d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 5 Aug 2008 15:40:57 +0200 Subject: [PATCH] fix memory leak in event polling Signed-off-by: Julien Danjou --- awesome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome.c b/awesome.c index a90e12db..da79b575 100644 --- a/awesome.c +++ b/awesome.c @@ -151,9 +151,9 @@ a_xcb_check_cb(EV_P_ ev_check *w, int revents) { xcb_generic_event_t *ev; -xev_restart: while((ev = xcb_poll_for_event(globalconf.connection))) { +xev_restart: xcb_handle_event(globalconf.evenths, ev); p_delete(&ev); }