connection: Also consume message data in error cases

dev
Kristian Høgsberg 14 years ago
parent f9edadf3f2
commit f03b6c7694
  1. 1
      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;
}

Loading…
Cancel
Save