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>
Tue, 26 Sep 2023 21:00:23 +0000 (17:00 -0400)
commit9ed630c5c4b3d3d6e333ae629c1a9c4be6745f74
treeb44eb43c1e4e2f5792f3d0d2c5bebdbc1587b0cd
parent7441ef0b3ebe11ee46db82f7f7eee0f68b35e192
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