amdkfd: Fix memory leak of mqds on dqm fini
authorOded Gabbay <oded.gabbay@amd.com>
Tue, 25 Nov 2014 13:16:38 +0000 (15:16 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Tue, 25 Nov 2014 13:16:38 +0000 (15:16 +0200)
commit6f9d54fd6e0125b17fb286e1e54e934dd11f60d3
tree5c80a19ff8c19633877fc0db2c11de83f7f15702
parente048a0b26033b35eb36c20e4d36fb466a2570c27
amdkfd: Fix memory leak of mqds on dqm fini

The mqds array members are not freed when dqm is uninitialized.

Reviewed-by: Ben Goz <Ben.Goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c