connection: Also consume message data in error cases
This commit is contained in:
parent
f9edadf3f2
commit
f03b6c7694
|
@ -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…
Reference in New Issue