projects
/
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 935ba05b7cc2b70782e676975df7b34be089ff5a..3ddc51d6069f923c410fc230dad823089136ce42 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);
}
}
}