eglfs: Do not leak the QOpenGLShaderProgram instance

Change-Id: Ia0691b99d57986328b9dd81e527ea4f402d7bc5b
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
Laszlo Agocs 2013-09-17 12:34:43 +02:00 committed by The Qt Project
parent 2b20ed5af4
commit ba20945c0f

View File

@ -64,6 +64,7 @@ QEglFSBackingStore::QEglFSBackingStore(QWindow *window)
QEglFSBackingStore::~QEglFSBackingStore() QEglFSBackingStore::~QEglFSBackingStore()
{ {
delete m_program;
delete m_context; delete m_context;
} }