aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMon ouïe <mon.ouie@gmail.com>2023-12-01 09:56:44 +0100
committerMon ouïe <mon.ouie@gmail.com>2023-12-01 09:57:15 +0100
commite523f776f15176d88ff44047187984d70787250e (patch)
tree95189d2100e8dbabd8b7f15c6e239d8588ea45e1
parentc572da9325c58879942c3395ce7d570374022e7f (diff)
Delete VideoBuffer on shutdown
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
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);
}