]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: also free() X11 errors in the main loop
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 17:41:57 +0000 (19:41 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 17:41:57 +0000 (19:41 +0200)
src/main.c

index 54df5431e6b700a50ccb7e08604f98ba9b11c06e..d7a5aedb99240036808c652564423e4ca5a23eeb 100644 (file)
@@ -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;
         }