From cb2a5f543e9a4a508aea957ae80f33cf32dd45e6 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Mon, 6 Jul 2020 17:37:19 +0000 Subject: [PATCH] Clean up gbm device on exit --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 2f5f6e2..f6e6774 100644 --- a/src/main.c +++ b/src/main.c @@ -804,6 +804,7 @@ int main(int argc, char* argv[]) zwp_linux_dmabuf_v1_destroy(zwp_linux_dmabuf); if (self.screencopy.manager) screencopy_destroy(&self.screencopy); + gbm_device_destroy(gbm_device); wayvnc_destroy(&self); aml_unref(aml);