Skip to content
Commit 4a40ae77 authored by Philipp Zabel's avatar Philipp Zabel Committed by Marius Vlad
Browse files

libweston: deduplicate compositor shutdown in backend_init failure path



If backend initialization fails, weston_compositor_shutdown() is called
twice, once right away in weston_compositor_load_backend(), and once in
weston_compositor_destroy().
Remove the first and fix a segfault when trying to weston_plane_remove()
the primary plane a second time.

Fixes: 90c11cf4 ("libweston: move weston_compositor_shutdown call out of backends")
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 789e474d
Loading
Loading
Loading
Pipeline #922718 passed with stages
in 5 minutes and 19 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment