diff options
| author | Harshit Mogalapalli <[email protected]> | 2023-12-08 09:58:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-12-13 20:09:55 +0000 |
| commit | a9210714d23190b44eed32f8bcadbe3b18d51a1d (patch) | |
| tree | 65abe48e96e7d7b8979a09641010e79f65960141 /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | |
| parent | drm/amd/display: add plane HDR multiplier driver-specific property (diff) | |
| download | kernel-a9210714d23190b44eed32f8bcadbe3b18d51a1d.tar.gz kernel-a9210714d23190b44eed32f8bcadbe3b18d51a1d.zip | |
drm/amd/display: Fix memory leak in dm_set_writeback()
'wb_info' needs to be freed on error paths or it would leak the memory.
Smatch pointed this out.
Fixes: c81e13b929df ("drm/amd/display: Hande writeback request from userspace")
Signed-off-by: Harshit Mogalapalli <[email protected]>
Reviewed-by: Alex Hung <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
0 files changed, 0 insertions, 0 deletions
