projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17b5063
)
free the ArrayObjects hash table
author
Tilman Sauerbeck
<tilman@freedesktop.org>
Tue, 11 Jul 2006 19:36:27 +0000
(19:36 +0000)
committer
Tilman Sauerbeck
<tilman@freedesktop.org>
Tue, 11 Jul 2006 19:36:27 +0000
(19:36 +0000)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index e7146cf9b1fe44da13933ed0bd8b5cde7fcf445e..5440d81c4e6478bb5e76a3a2406e807ddd064353 100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-771,6
+771,9
@@
alloc_shared_state( GLcontext *ctx )
_mesa_DeleteHashTable(ss->BufferObjects);
#endif
+ if (ss->ArrayObjects)
+ _mesa_DeleteHashTable (ss->ArrayObjects);
+
if (ss->GL2Objects)
_mesa_DeleteHashTable (ss->GL2Objects);
@@
-911,6
+914,8
@@
free_shared_state( GLcontext *ctx, struct gl_shared_state *ss )
_mesa_DeleteHashTable(ss->BufferObjects);
#endif
+ _mesa_DeleteHashTable(ss->ArrayObjects);
+
#if FEATURE_ARB_shader_objects
_mesa_DeleteHashTable(ss->GL2Objects);
#endif