From af8682210ec7b4f89f4d6a52fb568da9a4523d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 29 Aug 2019 20:17:53 +0200 Subject: [PATCH] main: destroy sub-compositor at exit --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index e92996ef..18e2a19a 100644 --- a/main.c +++ b/main.c @@ -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)