summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2013-09-17 12:34:43 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-17 14:57:08 +0200
commitba20945c0ff9aaa05c65dbd208c593774eb62d78 (patch)
treee11dbf718d6cd48813b0c8cf2bd37ebc65cca2b2 /src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
parent2b20ed5af4d10533a14477750c7572ef09e60005 (diff)
eglfs: Do not leak the QOpenGLShaderProgram instance
Change-Id: Ia0691b99d57986328b9dd81e527ea4f402d7bc5b Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsbackingstore.cpp')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsbackingstore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
index 5b83a76143..35f699d975 100644
--- a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
@@ -64,6 +64,7 @@ QEglFSBackingStore::QEglFSBackingStore(QWindow *window)
QEglFSBackingStore::~QEglFSBackingStore()
{
+ delete m_program;
delete m_context;
}