mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 09:28:11 +02:00
backend-vnc: drop unnecessary output release
No output is created at this point. Even if an output existed, it should be relased when the head ist destroyed. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
parent
635aa225c6
commit
1e901fa2b7
1 changed files with 0 additions and 2 deletions
|
|
@ -1026,8 +1026,6 @@ vnc_backend_create(struct weston_compositor *compositor,
|
|||
return backend;
|
||||
|
||||
err_output:
|
||||
if (backend->output)
|
||||
weston_output_release(&backend->output->base);
|
||||
wl_list_for_each_safe(base, next, &compositor->head_list, compositor_link)
|
||||
vnc_head_destroy(base);
|
||||
err_compositor:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue