From: Shunichi Fuji Date: Fri, 16 May 2008 16:11:25 +0000 (-0600) Subject: free(key) in _tnl_UpdateFixedFunctionProgram() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e291cf6f8d3423c2f1e123ec2a42f0568019da80;p=mesa.git free(key) in _tnl_UpdateFixedFunctionProgram() --- diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c index 4a0ce447c6b..4432893f175 100644 --- a/src/mesa/tnl/t_vp_build.c +++ b/src/mesa/tnl/t_vp_build.c @@ -1575,6 +1575,9 @@ void _tnl_UpdateFixedFunctionProgram( GLcontext *ctx ) } else { FREE(key); } + else { + FREE(key); + } _mesa_reference_vertprog(ctx, &ctx->VertexProgram._TnlProgram, newProg); _mesa_reference_vertprog(ctx, &ctx->VertexProgram._Current, newProg);