projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
007c2d6
)
i915: Fix leak of ViewportMatrix data on context destroy.
author
John
<jpsinthemix@verizon.net>
Wed, 29 Jun 2011 18:45:04 +0000
(11:45 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 7 Jul 2011 21:43:44 +0000
(14:43 -0700)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30217
src/mesa/drivers/dri/intel/intel_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_context.c
b/src/mesa/drivers/dri/intel/intel_context.c
index 0402d83e9e3cd5b13f2320ba486e064583ce50f0..292b7b034ee56bdeb55bc0415de955e1e42faf30 100644
(file)
--- 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;
}