diff options
author | Mukul Joshi <mukul.joshi@amd.com> | 2024-04-18 11:32:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-02 16:32:45 +0200 |
commit | d7d7284c2a7c67ea5f07eb28d8c2ea0f3ee4b86b (patch) | |
tree | 5575f5e51b5aecd97c346d3de385f1746316075d /drivers/acpi/cppc_acpi.c | |
parent | 65356a1cc49657b2fc833489d226053fa601334a (diff) |
drm/amdgpu: Fix leak when GPU memory allocation fails
commit 25e9227c6afd200bed6774c866980b8e36d033af upstream.
Free the sync object if the memory allocation fails for any
reason.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions