Re: [PATCH 07/13] platform/raspberrypi: vchiq-mmal: Free the event context for control ports
From: Krzysztof Kozlowski
Date: Sun Nov 02 2025 - 04:21:07 EST
On 31/10/2025 18:27, Jai Luthra wrote:
> From: Dave Stevenson <dave.stevenson@xxxxxxxxxxxxxxx>
>
> vchiq_mmal_component_init calls init_event_context for the
> control port, but vchiq_mmal_component_finalise didn't free
> it, causing a memory leak..
>
> Add the free call.
>
> Signed-off-by: Dave Stevenson <dave.stevenson@xxxxxxxxxxxxxxx>
> Signed-off-by: Jai Luthra <jai.luthra@xxxxxxxxxxxxxxxx>
Missing fixes tag, Cc stable. Also fixes should not be mixed up with
regular patchset (at all) and for sure not in the middle of the patchset.
Best regards,
Krzysztof