Skip to content
Commit 10276a20 authored by Hanjun Guo's avatar Hanjun Guo Committed by Alex Deucher
Browse files

drm/radeon: Add the missed acpi_put_table() to fix memory leak



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.

v2: fix text formatting (Alex)

Fixes: 268ba0a9 ("drm/radeon: implement ACPI VFCT vbios fetch (v3)")
Signed-off-by: default avatarHanjun Guo <guohanjun@huawei.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4b31b92b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment