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

From: Dan Carpenter

Date: Tue Oct 27 2026 - 01:39:15 EST


On Tue, Oct 27, 2026 at 12:19:40AM +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.
>
> Signed-off-by: Abdullah Mohammd Sifat <sifat.yt.2.0c@xxxxxxxxx>

The commit message says it is a bug but there is no Fixes tag.

However, it is not a bug because the memory is freed in the caller.

regards,
dan carpenter