mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
i915: Fix leak of ViewportMatrix data on context destroy.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30217
This commit is contained in:
parent
007c2d6cd2
commit
f39476b234
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue