mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
drm/amdgpu: fix context memory leak
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
This commit is contained in:
parent
0753b45242
commit
cdecb65b4e
|
|
@ -130,6 +130,7 @@ void amdgpu_ctx_fini(struct amdgpu_fpriv *fpriv)
|
||||||
DRM_ERROR("ctx %p is still alive\n", ctx);
|
DRM_ERROR("ctx %p is still alive\n", ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
idr_destroy(&mgr->ctx_handles);
|
||||||
mutex_destroy(&mgr->lock);
|
mutex_destroy(&mgr->lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user