Mukul Joshi 64f9d8ac2c 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>
2024-05-02 16:29:29 +02:00
..
2024-04-17 11:18:27 +02:00
2023-03-10 09:34:33 +01:00
2022-10-05 11:24:12 -07:00
2022-08-16 12:46:26 +02:00
2023-08-30 16:10:57 +02:00
2024-01-25 15:27:32 -08:00
2022-08-26 14:22:59 +02:00
2023-05-11 23:03:07 +09:00
2024-03-06 14:45:10 +00:00
2023-05-30 14:03:20 +01:00
2023-02-22 12:59:46 +01:00
2022-10-07 17:04:10 -07:00