Re: [PATCH 2/2] drm/radeon: Add the missed acpi_put_table() to fix memory leak

2022-11-08 Thread Alex Deucher
Applied. Thanks On Fri, Nov 4, 2022 at 6:05 AM Hanjun Guo wrote: > > When the radeon driver reads the bios information from ACPI > table in radeon_acpi_vfct_bios(), it misses to call acpi_put_table() > to release the ACPI memory after the init, so add acpi_put_table() > properly to fix the memor

[PATCH 2/2] drm/radeon: Add the missed acpi_put_table() to fix memory leak

2022-11-04 Thread Hanjun Guo
When the radeon driver reads the bios information from ACPI table in radeon_acpi_vfct_bios(), it misses to call acpi_put_table() to release the ACPI memory after the init, so add acpi_put_table() properly to fix the memory leak. Fixes: 268ba0a99f89 ("drm/radeon: implement ACPI VFCT vbios fetch (v3