From 0db6230cf603926c297362c7d483d27eee4fd01a Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Mon, 27 Oct 2014 14:55:08 +0100 Subject: [PATCH] ANGLE: Delete the ShaderImpl on gl::Shader object destruction. Cherry-picked from https://chromium-review.googlesource.com/224106 Task-number: QTBUG-41588 Change-Id: I27d75da76cec0b3341f549a3e6891c1c6d321358 Reviewed-by: Andrew Knight --- src/3rdparty/angle/src/libGLESv2/Shader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/3rdparty/angle/src/libGLESv2/Shader.cpp b/src/3rdparty/angle/src/libGLESv2/Shader.cpp index e3da2b1a9e..4cf5251ff9 100644 --- a/src/3rdparty/angle/src/libGLESv2/Shader.cpp +++ b/src/3rdparty/angle/src/libGLESv2/Shader.cpp @@ -37,6 +37,7 @@ Shader::Shader(ResourceManager *manager, rx::ShaderImpl *impl, GLenum type, GLui Shader::~Shader() { + SafeDelete(mShader); } GLuint Shader::getHandle() const