From fd28445e102800b84e49e3f2299ef7dd8af8b89d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 19 Jul 2001 15:54:34 +0000 Subject: Added Win32 memory debugging and fixed a few memory leaks (Gerk Huisma) --- src/mesa/tnl/t_context.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/tnl') diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c index 76f4180b65..130a3febe5 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; -- cgit v1.2.3