diff options
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_fence.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c index bc187fafd58c..c62d20e8a6f1 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | |||
@@ -537,7 +537,7 @@ static void vmw_user_fence_destroy(struct vmw_fence_obj *fence) | |||
537 | container_of(fence, struct vmw_user_fence, fence); | 537 | container_of(fence, struct vmw_user_fence, fence); |
538 | struct vmw_fence_manager *fman = fence->fman; | 538 | struct vmw_fence_manager *fman = fence->fman; |
539 | 539 | ||
540 | kfree(ufence); | 540 | ttm_base_object_kfree(ufence, base); |
541 | /* | 541 | /* |
542 | * Free kernel space accounting. | 542 | * Free kernel space accounting. |
543 | */ | 543 | */ |