Re: [PATCH] media: atomisp: Fix memory leak in atomisp_alloc_dis_coef_buf

From: Dan Carpenter

Date: Tue Oct 27 2026 - 01:40:49 EST


On Mon, Oct 26, 2026 at 05:58:39PM +0000, Abdullah Mohammd Sifat wrote:
> Free the allocated dvs2_coeff memory if ia_css_dvs2_statistics_allocate
>
> fails to prevent a memory leak in the error path.

Extra blank line is strange.

>
> Signed-off-by: Abdullah Mohammd Sifat <sifat.yt.2.0c@xxxxxxxxx>
> ---

See my comments to the other thread. This is a false positive.

regards,
dan carpenter