From f03b6c76947c9ed804a2db2b14b3f7d2f7c4ed21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 26 Jan 2011 11:46:35 -0500 Subject: [PATCH] connection: Also consume message data in error cases --- wayland/connection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wayland/connection.c b/wayland/connection.c index 73715e2..f83979c 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; } -- 2.7.4