eglfs: Do not leak the QOpenGLShaderProgram instance
Change-Id: Ia0691b99d57986328b9dd81e527ea4f402d7bc5b Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
parent
2b20ed5af4
commit
ba20945c0f
@ -64,6 +64,7 @@ QEglFSBackingStore::QEglFSBackingStore(QWindow *window)
|
||||
|
||||
QEglFSBackingStore::~QEglFSBackingStore()
|
||||
{
|
||||
delete m_program;
|
||||
delete m_context;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user