diff options
| author | Yao Zi <[email protected]> | 2024-07-03 15:58:27 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2024-07-09 17:32:25 +0200 |
| commit | a695949b2e9bb6b6700a764c704731a306c4bebf (patch) | |
| tree | 40e4a8caa55068d79e68892875e44a5bc75796a2 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | 91f9f4a37124044089debb02a3965c59b5b10c21 (diff) | |
drm/meson: fix canvas release in bind function
Allocated canvases may not be released on the error exit path of
meson_drv_bind_master(), leading to resource leaking. Rewrite exit path
to release canvases on error.
Fixes: 2bf6b5b0e374 ("drm/meson: exclusively use the canvas provider module")
Signed-off-by: Yao Zi <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions