Bugfix: also free() X11 errors in the main loop

This commit is contained in:
Michael Stapelberg 2011-07-31 19:41:57 +02:00
parent fdfa88586d
commit ffbcfa2c97
1 changed files with 1 additions and 0 deletions

View 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", ELOG("X11 Error received! sequence 0x%x, error_code = %d\n",
error->sequence, error->error_code); error->sequence, error->error_code);
} }
free(event);
continue; continue;
} }