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
@ -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…
Reference in New Issue
Block a user