Skip to content
Commit 3e4aeff3 authored by Chen Tao's avatar Chen Tao Committed by Alex Deucher
Browse files

drm/amdgpu/debugfs: fix memory leak when pm_runtime_get_sync failed



Fix memory leak in amdgpu_debugfs_gpr_read not freeing data when
pm_runtime_get_sync failed.

Fixes: a9ffe2a9 ("drm/amdgpu/debugfs: properly handle runtime pm")
Signed-off-by: default avatarChen Tao <chentao107@huawei.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent db32fec9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment