diff options
Diffstat (limited to 'bsd/drm_drv.h')
-rw-r--r-- | bsd/drm_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd/drm_drv.h b/bsd/drm_drv.h index 81ca644a..0b880047 100644 --- a/bsd/drm_drv.h +++ b/bsd/drm_drv.h @@ -962,11 +962,11 @@ int DRM(close)(dev_t kdev, int flags, int fmt, DRM_STRUCTPROC *p) priv->refs--; if (!priv->refs) { TAILQ_REMOVE(&dev->files, priv, link); + DRM(free)( priv, sizeof(*priv), DRM_MEM_FILES ); } } DRM_UNLOCK; - DRM(free)( priv, sizeof(*priv), DRM_MEM_FILES ); /* ======================================================== * End inline drm_release |