amdgpu: Deinitialize vamgr_high{,_32}
Fixes memory leaks. Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>main
parent
50426f3e17
commit
bc9c789073
|
@ -128,6 +128,8 @@ static void amdgpu_device_free_internal(amdgpu_device_handle dev)
|
||||||
{
|
{
|
||||||
amdgpu_vamgr_deinit(&dev->vamgr_32);
|
amdgpu_vamgr_deinit(&dev->vamgr_32);
|
||||||
amdgpu_vamgr_deinit(&dev->vamgr);
|
amdgpu_vamgr_deinit(&dev->vamgr);
|
||||||
|
amdgpu_vamgr_deinit(&dev->vamgr_high_32);
|
||||||
|
amdgpu_vamgr_deinit(&dev->vamgr_high);
|
||||||
util_hash_table_destroy(dev->bo_flink_names);
|
util_hash_table_destroy(dev->bo_flink_names);
|
||||||
util_hash_table_destroy(dev->bo_handles);
|
util_hash_table_destroy(dev->bo_handles);
|
||||||
pthread_mutex_destroy(&dev->bo_table_mutex);
|
pthread_mutex_destroy(&dev->bo_table_mutex);
|
||||||
|
|
Loading…
Reference in New Issue