projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bdf5b6
)
free(key) in _tnl_UpdateFixedFunctionProgram()
author
Shunichi Fuji
<palglowr@gmail.com>
Fri, 16 May 2008 16:11:25 +0000
(10:11 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 16 May 2008 21:16:06 +0000
(15:16 -0600)
src/mesa/tnl/t_vp_build.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vp_build.c
b/src/mesa/tnl/t_vp_build.c
index 4a0ce447c6b6a7d653f077648aa3ac3612a5b30c..4432893f175ce527a2aa68b1708c8627ce9f1f52 100644
(file)
--- 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);