amdgpu: fix missing deinit on vamgr_32
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: monk.liu <monk.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>main
parent
c3301d0134
commit
f17017b8e2
|
@ -132,6 +132,8 @@ static void amdgpu_device_free_internal(amdgpu_device_handle dev)
|
||||||
{
|
{
|
||||||
amdgpu_vamgr_deinit(dev->vamgr);
|
amdgpu_vamgr_deinit(dev->vamgr);
|
||||||
free(dev->vamgr);
|
free(dev->vamgr);
|
||||||
|
amdgpu_vamgr_deinit(dev->vamgr_32);
|
||||||
|
free(dev->vamgr_32);
|
||||||
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