mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
wayland-shm: Add return before we hit the error clean-up path
Regression in c94c0946db
This commit is contained in:
parent
dba322c1c0
commit
b4aff6b79f
1 changed files with 2 additions and 0 deletions
|
|
@ -221,6 +221,8 @@ shm_create_pool(struct wl_client *client, struct wl_resource *resource,
|
||||||
|
|
||||||
wl_client_add_resource(client, &pool->resource);
|
wl_client_add_resource(client, &pool->resource);
|
||||||
|
|
||||||
|
return;
|
||||||
|
|
||||||
err_close:
|
err_close:
|
||||||
close(fd);
|
close(fd);
|
||||||
err_free:
|
err_free:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue