summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_context.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-28 14:51:52 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-01 10:20:56 -0700
commitf0676cc4223fe05d84cee9d16f1094a7bfa181d4 (patch)
treeb9c1b313f2114e6ad053c3b0e5d33655bbccf837 /src/mesa/vbo/vbo_context.c
parent6c0fc07d71cd1a4e311c8e638e718f7df189af79 (diff)
downloadexternal_mesa3d-f0676cc4223fe05d84cee9d16f1094a7bfa181d4.zip
external_mesa3d-f0676cc4223fe05d84cee9d16f1094a7bfa181d4.tar.gz
external_mesa3d-f0676cc4223fe05d84cee9d16f1094a7bfa181d4.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 656b27f..3813254 100644
--- a/src/mesa/vbo/vbo_context.c
+++ b/src/mesa/vbo/vbo_context.c
@@ -240,6 +240,7 @@ void _vbo_DestroyContext( GLcontext *ctx )
}
vbo_exec_destroy(ctx);
+ vbo_save_destroy(ctx);
FREE(vbo_context(ctx));
ctx->swtnl_im = NULL;
}