[Mesa-dev] [PATCH 01/11] mesa: Don't leak ATIfs instructions in DeleteFragmentShader
Ian Romanick
idr at freedesktop.org
Tue Dec 15 17:23:30 PST 2015
This patch is
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
Assuming there are no objections, I'll push this in 24 hours.
On 12/15/2015 03:05 PM, Miklós Máté wrote:
> ---
> 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);
> }
> }
> }
>
More information about the mesa-dev
mailing list