drm/amdgpu: Fix a memory leak
authorLuben Tuikov <luben.tuikov@amd.com>
Fri, 22 Sep 2023 21:21:21 +0000 (17:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Oct 2023 02:43:26 +0000 (22:43 -0400)
commit5d061675b7538e25d060d13310880c01160207c4
treec9605f1cac908d19bd1f556f5fb3ff4896e101fb
parent4953856f280b2b606089a72a93a1e9212a3adaca
drm/amdgpu: Fix a memory leak

Fix a memory leak in amdgpu_fru_get_product_info().

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Reported-by: Yang Wang <kevinyang.wang@amd.com>
Fixes: 0dbf2c562625 ("drm/amdgpu: Interpret IPMI data for product information (v2)")
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c