summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglcustomshaderstage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/qopenglcustomshaderstage.cpp')
-rw-r--r--src/gui/opengl/qopenglcustomshaderstage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/opengl/qopenglcustomshaderstage.cpp b/src/gui/opengl/qopenglcustomshaderstage.cpp
index a0386bd5f3..baa44f86b0 100644
--- a/src/gui/opengl/qopenglcustomshaderstage.cpp
+++ b/src/gui/opengl/qopenglcustomshaderstage.cpp
@@ -69,6 +69,7 @@ QOpenGLCustomShaderStage::~QOpenGLCustomShaderStage()
d->m_manager->removeCustomStage();
d->m_manager->sharedShaders->cleanupCustomStage(this);
}
+ delete d_ptr;
}
void QOpenGLCustomShaderStage::setUniformsDirty()