summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-11 02:22:04 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-11 02:22:04 +0000
commit65078f2c87a0d1da8c8546d283434af26f53e44c (patch)
tree710bf80cb84624c26307ab7f5118b40e43403220 /sys/dev
parent6ee2551e9e3e6aa2b79de8886a58f054d96a9c6a (diff)
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
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/amd/amdkfd/kfd_process_queue_manager.c1
1 files changed, 1 insertions, 0 deletions
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;
}