main: destroy sub-compositor at exit

This commit is contained in:
Daniel Eklöf 2019-08-29 20:17:53 +02:00
parent 44a353a7f7
commit af8682210e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
main.c
View file

@ -1064,6 +1064,8 @@ out:
wl_surface_destroy(term.wl.surface);
if (term.wl.shm != NULL)
wl_shm_destroy(term.wl.shm);
if (term.wl.sub_compositor != NULL)
wl_subcompositor_destroy(term.wl.sub_compositor);
if (term.wl.compositor != NULL)
wl_compositor_destroy(term.wl.compositor);
if (term.wl.registry != NULL)