mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 14:20:36 +02:00
free the ArrayObjects hash table
This commit is contained in:
parent
17b5063c6f
commit
c0eb777cd8
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue