diff options
author | John <[email protected]> | 2011-06-29 11:45:04 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-07-07 14:43:44 -0700 |
commit | f39476b234960cd0fb794a43a3eece440367cba2 (patch) | |
tree | 3005d3f6030f10b2c36797eaaa8693c71f2c072c /src/mesa | |
parent | 007c2d6cd2f6b206564689ac12a3e51aaae242bc (diff) |
i915: Fix leak of ViewportMatrix data on context destroy.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30217
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 0402d83e9e3..292b7b034ee 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -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; } |