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>
This commit is contained in:
Miklós Máté
2015-12-16 00:05:34 +01:00
committed by Ian Romanick
parent 6e44bbe0f5
commit 7279453da5
+1 -1
View File
@@ -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);
}
}
}