i915: Fix leak of ViewportMatrix data on context destroy.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30217
This commit is contained in:
John 2011-06-29 11:45:04 -07:00 committed by Eric Anholt
parent 007c2d6cd2
commit f39476b234

View file

@ -922,6 +922,8 @@ intelDestroyContext(__DRIcontext * driContextPriv)
/* free the Mesa context */
_mesa_free_context_data(&intel->ctx);
_math_matrix_dtr(&intel->ViewportMatrix);
FREE(intel);
driContextPriv->driverPrivate = NULL;
}