mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-08 18:14:14 -05:00
drm/vmwgfx: Free user-space fence objects correctly
They need to be freed after an rcu grace period. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
committed by
Dave Airlie
parent
a82b8db02f
commit
35f62a5829
@@ -537,7 +537,7 @@ static void vmw_user_fence_destroy(struct vmw_fence_obj *fence)
|
||||
container_of(fence, struct vmw_user_fence, fence);
|
||||
struct vmw_fence_manager *fman = fence->fman;
|
||||
|
||||
kfree(ufence);
|
||||
ttm_base_object_kfree(ufence, base);
|
||||
/*
|
||||
* Free kernel space accounting.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user