From 3a610ec9f6a8f6d27f9e2f9ffa0f07e6c575a4bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 13 Nov 2015 17:55:02 +0100 Subject: [PATCH] [backends/hwcomposer] Do not manually cleanup our HwcomposerWindow It looks like libhybris already deletes the window when we do eglDestroySurface resulting in a double delete if we also delete it. --- backends/hwcomposer/egl_hwcomposer_backend.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/backends/hwcomposer/egl_hwcomposer_backend.cpp b/backends/hwcomposer/egl_hwcomposer_backend.cpp index d55b886f04..6ac30bc072 100644 --- a/backends/hwcomposer/egl_hwcomposer_backend.cpp +++ b/backends/hwcomposer/egl_hwcomposer_backend.cpp @@ -42,7 +42,6 @@ EglHwcomposerBackend::EglHwcomposerBackend(HwcomposerBackend *backend) EglHwcomposerBackend::~EglHwcomposerBackend() { cleanup(); - delete m_nativeSurface; } bool EglHwcomposerBackend::initializeEgl()