diff options
author | Shunichi Fuji <palglowr@gmail.com> | 2008-05-16 10:11:25 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-16 15:16:06 -0600 |
commit | e291cf6f8d3423c2f1e123ec2a42f0568019da80 (patch) | |
tree | 972667afc9b3df68446ad50c8d6e865480a6e527 | |
parent | 8bdf5b6e6465ff734a798efb193ab16cd33df36e (diff) |
free(key) in _tnl_UpdateFixedFunctionProgram()
-rw-r--r-- | src/mesa/tnl/t_vp_build.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c index 4a0ce447c6..4432893f17 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); |