From f09ee597a6665bca702b6e36b372aad8020a4524 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Thu, 9 Jul 2020 21:05:46 +0000 Subject: [PATCH] main: Clean up registry globals --- src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.c b/src/main.c index 9f4cc98..07b28e6 100644 --- a/src/main.c +++ b/src/main.c @@ -164,6 +164,10 @@ int main(int argc, char* argv[]) } rc = 0; + wl_compositor_destroy(wl_compositor); + wl_shm_destroy(wl_shm); + xdg_wm_base_destroy(xdg_wm_base); + wl_registry_destroy(wl_registry); registry_failure: event_handler_failure: