From ffbcfa2c97a8bd6112258c37e3ae9d48e197a0f0 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 31 Jul 2011 19:41:57 +0200 Subject: [PATCH] Bugfix: also free() X11 errors in the main loop --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 54df5431..d7a5aedb 100644 --- a/src/main.c +++ b/src/main.c @@ -81,6 +81,7 @@ static void xcb_check_cb(EV_P_ ev_check *w, int revents) { ELOG("X11 Error received! sequence 0x%x, error_code = %d\n", error->sequence, error->error_code); } + free(event); continue; } -- 2.39.5