summaryrefslogtreecommitdiff
path: root/linux-core/drm_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_drv.c')
-rw-r--r--linux-core/drm_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index 744fd14c..7f652e43 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -934,6 +934,7 @@ int DRM(release)( struct inode *inode, struct file *filp )
#endif
list_del( &pos->head );
DRM(free)( pos, sizeof(*pos), DRM_MEM_CTXLIST );
+ --dev->ctx_count;
}
}
}