OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e95412
)
i915: Free dev->dev_private on unload.
author
Robert Noland
<rnoland@2hip.net>
Wed, 20 Aug 2008 21:15:46 +0000
(17:15 -0400)
committer
Robert Noland
<rnoland@2hip.net>
Sun, 24 Aug 2008 19:25:19 +0000
(15:25 -0400)
shared-core/i915_dma.c
patch
|
blob
|
history
diff --git
a/shared-core/i915_dma.c
b/shared-core/i915_dma.c
index
34d9355
..
84aafaa
100644
(file)
--- a/
shared-core/i915_dma.c
+++ b/
shared-core/i915_dma.c
@@
-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);