diff options
author | Miklós Máté <[email protected]> | 2015-12-16 00:05:34 +0100 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-12-17 12:09:58 -0800 |
commit | 7279453da5c847d8f63f7e1f9e30ac2b03e6b3e9 (patch) | |
tree | a55eec95bf175cb84b5a8685336e6b656b130567 /src/mesa | |
parent | 6e44bbe0f5496b1aea2b4a29adae7990b62fda33 (diff) |
mesa: Don't leak ATIfs instructions in DeleteFragmentShader
Reviewed-by: Ian Romanick <[email protected]>
Cc: "11.0 11.1" <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/atifragshader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/atifragshader.c b/src/mesa/main/atifragshader.c index 935ba05b7cc..3ddc51d6069 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); } } } |