From: Michael Stapelberg Date: Sun, 31 Jul 2011 17:41:57 +0000 (+0200) Subject: Bugfix: also free() X11 errors in the main loop X-Git-Tag: 4.0~14^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ffbcfa2c97a8bd6112258c37e3ae9d48e197a0f0;p=i3%2Fi3 Bugfix: also free() X11 errors in the main loop --- 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; }