mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 08:50:25 +01:00
mesa: Don't leak ATIfs instructions in DeleteFragmentShader
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 7279453da5)
This commit is contained in:
parent
04f01a844a
commit
ca30800dfd
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue