Commit 0f870aa2 authored by Dave Airlie's avatar Dave Airlie

Missing ctx_count decrement when releasing driver.

From: Erdi Chen
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 858b7f30
...@@ -836,6 +836,7 @@ int DRM(release)( struct inode *inode, struct file *filp ) ...@@ -836,6 +836,7 @@ int DRM(release)( struct inode *inode, struct file *filp )
list_del( &pos->head ); list_del( &pos->head );
DRM(free)( pos, sizeof(*pos), DRM_MEM_CTXLIST ); DRM(free)( pos, sizeof(*pos), DRM_MEM_CTXLIST );
--dev->ctx_count;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment