mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-10 13:29:48 -05:00
connection: Also consume message data in error cases
This commit is contained in:
parent
f9edadf3f2
commit
f03b6c7694
1 changed files with 1 additions and 0 deletions
|
|
@ -647,6 +647,7 @@ wl_connection_demarshal(struct wl_connection *connection,
|
||||||
err:
|
err:
|
||||||
closure->count = i;
|
closure->count = i;
|
||||||
wl_closure_destroy(closure);
|
wl_closure_destroy(closure);
|
||||||
|
wl_connection_consume(connection, size);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue