summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-03-16 12:36:23 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-03-16 12:36:23 +0000
commit6cc93e9413d3d26629cbebd0224088d123ae6563 (patch)
tree4981619a5c4eb080bdc542e15fd502085bad9004
parent8649272b5f6d4c7907592557c85ffd722faf2388 (diff)
Free clipspace vertices in tnl context destroy
-rw-r--r--src/mesa/tnl/t_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index 50bd6bfe57..65af9d448b 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -88,6 +88,8 @@ _tnl_DestroyContext( GLcontext *ctx )
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
+ _tnl_free_vertices( ctx );
+
_tnl_destroy_pipeline( ctx );
if (ctx->_MaintainTnlProgram)