Re: [PATCH] media: nxp: imx8-isi: remove kzalloc_objs

From: Rosen Penev

Date: Fri Mar 06 2026 - 01:20:25 EST


On Thu, Mar 5, 2026 at 9:11 PM Frank Li <Frank.li@xxxxxxx> wrote:
>
> On Thu, Mar 05, 2026 at 08:45:36PM -0800, Rosen Penev wrote:
>
> Subjest: use flexible array to fix memory leak
>
> > Use a flexible arraay member to combine allocations.
>
> typo array
Will fix.
> >
> > It looks like pipes never gets freed anywhere. Meaning this effectively
> > fixes a memory leak.
>
> Remove "It looks like". The pipes never ...
>
> Because fix memory leak, need fixes tag here.
Since its inception. Lovely.

That had no struct_size AFAIK.
>
> Frank
> >