diff --git a/wayland/connection.c b/wayland/connection.c index 73715e2d..f83979cf 100644 --- a/wayland/connection.c +++ b/wayland/connection.c @@ -647,6 +647,7 @@ wl_connection_demarshal(struct wl_connection *connection, err: closure->count = i; wl_closure_destroy(closure); + wl_connection_consume(connection, size); return NULL; }