intel: Clean up leak of driver context structure on context destroy.
This commit is contained in:
parent
cb4ef34214
commit
ddef7dc87b
|
@ -877,7 +877,8 @@ intelDestroyContext(__DRIcontextPrivate * driContextPriv)
|
|||
/* free the Mesa context */
|
||||
_mesa_free_context_data(&intel->ctx);
|
||||
|
||||
|
||||
FREE(intel);
|
||||
driContextPriv->driverPrivate = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue