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:
Philipp Zabel 2022-12-03 11:02:46 +01:00 committed by Philipp Zabel
parent 635aa225c6
commit 1e901fa2b7

View File

@ -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: