From 6d61e7ca60321e270d7ef2be7c49cc945d222ef6 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 11 Oct 2024 02:22:03 +0000 Subject: [PATCH] drm/amdkfd: Fix resource leak in criu restore queue From Jesse Zhang 71cfb54e0f0c972b082f1791177b79385eac9d98 in linux-6.6.y/6.6.55 aa47fe8d3595365a935921a90d00bc33ee374728 in mainline linux --- sys/dev/pci/drm/amd/amdkfd/kfd_process_queue_manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/drm/amd/amdkfd/kfd_process_queue_manager.c b/sys/dev/pci/drm/amd/amdkfd/kfd_process_queue_manager.c index dbc75ca8437..0583af4e84f 100644 --- a/sys/dev/pci/drm/amd/amdkfd/kfd_process_queue_manager.c +++ b/sys/dev/pci/drm/amd/amdkfd/kfd_process_queue_manager.c @@ -982,6 +982,7 @@ exit: pr_debug("Queue id %d was restored successfully\n", queue_id); kfree(q_data); + kfree(q_extra_data); return ret; } -- 2.20.1