projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e44bbe
)
mesa: Don't leak ATIfs instructions in DeleteFragmentShader
author
Miklós Máté
<mtmkls@gmail.com>
Tue, 15 Dec 2015 23:05:34 +0000
(
00:05
+0100)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Thu, 17 Dec 2015 20:09:58 +0000
(12:09 -0800)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
src/mesa/main/atifragshader.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/atifragshader.c
b/src/mesa/main/atifragshader.c
index
935ba05
..
3ddc51d
100644
(file)
--- a/
src/mesa/main/atifragshader.c
+++ b/
src/mesa/main/atifragshader.c
@@
-293,7
+293,7
@@
_mesa_DeleteFragmentShaderATI(GLuint id)
prog->RefCount--;
if (prog->RefCount <= 0) {
assert(prog != &DummyShader);
-
free(
prog);
+
_mesa_delete_ati_fragment_shader(ctx,
prog);
}
}
}