Re: [PATCH] media: nxp: imx8-isi: remove kzalloc_objs
From: Marc Kleine-Budde
Date: Fri Mar 06 2026 - 01:56:42 EST
On 05.03.2026 20:45:36, Rosen Penev wrote:
> Use a flexible arraay member to combine allocations.
>
> It looks like pipes never gets freed anywhere. Meaning this effectively
> fixes a memory leak.
It's a devm_kzalloc(), which means it's automatically free()ed after the
remove callback.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature