]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdkfd: Fix a potential memory leak
authorOak Zeng <ozeng@amd.com>
Wed, 28 Nov 2018 04:08:25 +0000 (22:08 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:02 +0000 (12:21 -0500)
commite73390d181103a19e1111ec2f25559a0570e9fe0
tree77f9a4c65b65c754efc7ccd4dc1cf4c4e8b709a5
parent11614c36bc8f4fd22ff91e6150ac63e8bfce33b5
drm/amdkfd: Fix a potential memory leak

Free mqd_mem_obj it GTT buffer allocation for MQD+control stack fails.

Signed-off-by: Oak Zeng <ozeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c