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