i915: Free dev->dev_private on unload.

main
Robert Noland 2008-08-20 17:15:46 -04:00
parent 3e9541230d
commit 1f3c4dd938
1 changed files with 2 additions and 0 deletions

View File

@ -1114,6 +1114,8 @@ int i915_driver_unload(struct drm_device *dev)
drm_free(dev->dev_private, sizeof(drm_i915_private_t),
DRM_MEM_DRIVER);
dev->dev_private = NULL;
#ifdef __linux__
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
intel_fini_chipset_flush_compat(dev);