free(key) in _tnl_UpdateFixedFunctionProgram()

This commit is contained in:
Shunichi Fuji 2008-05-16 10:11:25 -06:00 committed by Brian Paul
parent 8bdf5b6e64
commit e291cf6f8d

View file

@ -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);