mesa: free xform feedback hash table
authorBrian Paul <brianp@vmware.com>
Thu, 1 Jul 2010 17:07:32 +0000 (11:07 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 1 Jul 2010 19:07:07 +0000 (13:07 -0600)
src/mesa/main/transformfeedback.c

index 6126f1286d84e4d0ed9c6dd270e61b229aee17c8..26a3a4b3d0d3d48b1fe5923a879fc77529562fd4 100644 (file)
@@ -189,6 +189,7 @@ _mesa_free_transform_feedback(GLcontext *ctx)
 
    /* Delete all feedback objects */
    _mesa_HashDeleteAll(ctx->TransformFeedback.Objects, delete_cb, ctx);
+   _mesa_DeleteHashTable(ctx->TransformFeedback.Objects);
 
    /* Delete the default feedback object */
    assert(ctx->Driver.DeleteTransformFeedback);