Re: [PATCH] drm/vc4: Fix firmware reference leak in vc4_drm_bind()
From: Maíra Canal
Date: Sat Sep 26 2026 - 10:27:42 EST
On Wed, 16 Sep 2026 15:40:15 +0000, Wentao Liang wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] drm/vc4: Fix firmware reference leak in vc4_drm_bind()
commit: b816da5d5df1461446a0a5f3fe2b4948a659a790
Best regards,
- Maíra