From e523f776f15176d88ff44047187984d70787250e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mon=20ou=C3=AFe?= Date: Fri, 1 Dec 2023 09:56:44 +0100 Subject: Delete VideoBuffer on shutdown --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index a83048c..f1fea64 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1308,6 +1308,9 @@ void CMainApplication::Shutdown() if (overlay_xdo) xdo_free(overlay_xdo); + if (overlay_buffers) + delete overlay_buffers; + if (x_display) XCloseDisplay(x_display); } -- cgit v1.2.3