diff options
Diffstat (limited to 'sys/dev/pci/drm/i915/i915_drv.c')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_drv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915/i915_drv.c b/sys/dev/pci/drm/i915/i915_drv.c index c3fbdf5ce79..f0cdd46a147 100644 --- a/sys/dev/pci/drm/i915/i915_drv.c +++ b/sys/dev/pci/drm/i915/i915_drv.c @@ -1644,7 +1644,9 @@ out_fini: drm_dev_fini(&dev_priv->drm); out_free: #endif +#ifdef __linux__ kfree(dev_priv); +#endif pci_set_drvdata(pdev, NULL); return ret; } |