summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-07-19 15:54:34 +0000
committerBrian Paul <[email protected]>2001-07-19 15:54:34 +0000
commitfd28445e102800b84e49e3f2299ef7dd8af8b89d (patch)
treea382415605961999aea97f62ea17c6cb3f33743a /src/mesa/tnl/t_context.c
parent2a9eca0ed4d07329141bf8226b60eef83101a216 (diff)
Added Win32 memory debugging and fixed a few memory leaks (Gerk Huisma)
Diffstat (limited to 'src/mesa/tnl/t_context.c')
-rw-r--r--src/mesa/tnl/t_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index 76f4180b657..130a3febe50 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -1,4 +1,4 @@
-/* $Id: t_context.c,v 1.21 2001/07/12 22:09:21 keithw Exp $ */
+/* $Id: t_context.c,v 1.22 2001/07/19 15:54:35 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -139,6 +139,7 @@ _tnl_DestroyContext( GLcontext *ctx )
_tnl_array_destroy( ctx );
_tnl_imm_destroy( ctx );
_tnl_destroy_pipeline( ctx );
+ _tnl_free_immediate( tnl->freed_immediate );
FREE(tnl);
ctx->swtnl_context = 0;