Module: Mesa Branch: 11.0 Commit: 6b41cd70cdc1df244a7c0e69227725fa2d813a04 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b41cd70cdc1df244a7c0e69227725fa2d813a04
Author: Miklós Máté <[email protected]> Date: Wed Dec 16 00:05:34 2015 +0100 mesa: Don't leak ATIfs instructions in DeleteFragmentShader Reviewed-by: Ian Romanick <[email protected]> Cc: "11.0 11.1" <[email protected]> (cherry picked from commit 7279453da5c847d8f63f7e1f9e30ac2b03e6b3e9) --- src/mesa/main/atifragshader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/atifragshader.c b/src/mesa/main/atifragshader.c index 935ba05..3ddc51d 100644 --- 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); } } } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
