[PATCH] amdgpu: fix missing deinit on vamgr_32
Zhou, Jammy
Jammy.Zhou at amd.com
Mon Aug 31 20:38:27 PDT 2015
It looks like it was missed when I rebased my original patches. Patch is Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Regards,
Jammy
-----Original Message-----
From: dri-devel [mailto:dri-devel-bounces at lists.freedesktop.org] On Behalf Of Alex Deucher
Sent: Monday, August 31, 2015 10:37 PM
To: dri-devel at lists.freedesktop.org
Cc: Deucher, Alexander; Liu, Monk
Subject: [PATCH] amdgpu: fix missing deinit on vamgr_32
From: "monk.liu" <monk.liu at amd.com>
Signed-off-by: monk.liu <monk.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
amdgpu/amdgpu_device.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c index 75b12e2..e5a923e 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);
--
1.8.3.1
_______________________________________________
dri-devel mailing list
dri-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
More information about the dri-devel
mailing list