diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2026-09-16 15:40:15 +0000 |
|---|---|---|
| committer | Maíra Canal <mcanal@igalia.com> | 2026-09-26 11:18:45 -0300 |
| commit | b816da5d5df1461446a0a5f3fe2b4948a659a790 (patch) | |
| tree | e416657eaaf3a44bb0d1ebb5e6fe7149ed653fd0 /tools/lib/python/kdoc/python_version.py | |
| parent | 94cf5971b1d04c6382437387c4dc3836cc7a1437 (diff) | |
| download | linux-next-b816da5d5df1461446a0a5f3fe2b4948a659a790.tar.gz linux-next-b816da5d5df1461446a0a5f3fe2b4948a659a790.zip | |
drm/vc4: Fix firmware reference leak in vc4_drm_bind()
The firmware reference obtained via rpi_firmware_get() is leaked when
aperture_remove_all_conflicting_devices() fails, as the error label
returns without putting it. This happens before the firmware is
consumed and put further down in the function.
Put the firmware reference before jumping to err.
Fixes: c406ad5e4a85 ("drm/vc4: Notify the firmware when DRM is in charge")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Link: https://patch.msgid.link/20260916154015.2056797-1-vulab@iscas.ac.cn
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
