intel: Clean up leak of driver context structure on context destroy.

This commit is contained in:
Eric Anholt 2009-07-02 13:19:11 -07:00
parent cb4ef34214
commit ddef7dc87b
1 changed files with 2 additions and 1 deletions

View File

@ -877,7 +877,8 @@ intelDestroyContext(__DRIcontextPrivate * driContextPriv)
/* free the Mesa context */
_mesa_free_context_data(&intel->ctx);
FREE(intel);
driContextPriv->driverPrivate = NULL;
}
}