summaryrefslogtreecommitdiff
path: root/amdgpu
diff options
context:
space:
mode:
authormonk.liu <monk.liu@amd.com>2015-08-31 15:06:58 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-09-02 09:52:12 -0400
commitf17017b8e29b7fb8bf2c8b195bef5d4b0b4bc044 (patch)
tree46555735206d38b742c143fa7456b04bed993d15 /amdgpu
parentc3301d013444b7b5d02c58307e188e292d8cf18a (diff)
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>
Diffstat (limited to 'amdgpu')
-rw-r--r--amdgpu/amdgpu_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
index 75b12e25..e5a923e6 100644
--- a/amdgpu/amdgpu_device.c
+++ b/amdgpu/amdgpu_device.c
@@ -132,6 +132,8 @@ static void amdgpu_device_free_internal(amdgpu_device_handle dev)
{
amdgpu_vamgr_deinit(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_handles);
pthread_mutex_destroy(&dev->bo_table_mutex);