hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 8a8ff14bf51d51e548fa5399b642eb7778b51c06 Mon Sep 17 00:00:00 2001
From: Jeffy Chen <jeffy.chen@rock-chips.com>
Date: Thu, 3 Jan 2019 15:27:59 +0800
Subject: [PATCH 04/15] qwayland-egl: Fix mali crash during exiting
 
By adding the missing ~QWaylandEglPlatformIntegration() to call
eglTerminate().
 
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
 .../platforms/qwayland-egl/qwaylandeglplatformintegration.h   | 4 ++++
 1 file changed, 4 insertions(+)
 
diff --git a/src/plugins/platforms/qwayland-egl/qwaylandeglplatformintegration.h b/src/plugins/platforms/qwayland-egl/qwaylandeglplatformintegration.h
index f2c8a154..ac937565 100644
--- a/src/plugins/platforms/qwayland-egl/qwaylandeglplatformintegration.h
+++ b/src/plugins/platforms/qwayland-egl/qwaylandeglplatformintegration.h
@@ -57,6 +57,10 @@ public:
         m_client_buffer_integration->initialize(display());
     }
 
+    ~QWaylandEglPlatformIntegration() {
+        delete m_client_buffer_integration;
+    }
+
     QWaylandEglClientBufferIntegration *clientBufferIntegration() const override
     { return m_client_buffer_integration; }
 
-- 
2.20.1