summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_context.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-28 14:52:12 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-01 10:21:21 -0700
commit520a455f55f6c6c529dc6b725a5225793c0b4b01 (patch)
treecc8cdfa526fba52446d80c3f1c1cdeaa40c63d48 /src/mesa/vbo/vbo_context.c
parent678db26b9d2db0c76e7676b5499d8d55a5619a94 (diff)
downloadexternal_mesa3d-520a455f55f6c6c529dc6b725a5225793c0b4b01.zip
external_mesa3d-520a455f55f6c6c529dc6b725a5225793c0b4b01.tar.gz
external_mesa3d-520a455f55f6c6c529dc6b725a5225793c0b4b01.tar.bz2
fix vbo display list memleak upon context destruction
Diffstat (limited to 'src/mesa/vbo/vbo_context.c')
-rw-r--r--src/mesa/vbo/vbo_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_context.c b/src/mesa/vbo/vbo_context.c
index 60d0b76..235cee2 100644
--- a/src/mesa/vbo/vbo_context.c
+++ b/src/mesa/vbo/vbo_context.c
@@ -246,6 +246,7 @@ void _vbo_DestroyContext( GLcontext *ctx )
}
vbo_exec_destroy(ctx);
+ vbo_save_destroy(ctx);
FREE(vbo_context(ctx));
ctx->swtnl_im = NULL;
}