Commit bc9c7890 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

amdgpu: Deinitialize vamgr_high{,_32}



Fixes memory leaks.
Reviewed-by: Andrey Grodzovsky's avatarAndrey Grodzovsky <andrey.grodzovsky@amd.com>
parent 50426f3e
......@@ -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);
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_handles);
pthread_mutex_destroy(&dev->bo_table_mutex);
......
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