intel: Clean up leak of driver context structure on context destroy.

(cherry picked from commit ddef7dc87b)
This commit is contained in:
Brian Paul
2009-07-27 15:28:49 -06:00
parent a7427b0f7b
commit 722d136f7b

View File

@@ -804,6 +804,9 @@ intelDestroyContext(__DRIcontextPrivate * driContextPriv)
/* free the Mesa context */
_mesa_free_context_data(&intel->ctx);
FREE(intel);
driContextPriv->driverPrivate = NULL;
}
}