Re: [PATCH next] xfs: fix memory leak in xfs_growfs_check_rtgeom()

From: Christoph Hellwig

Date: Fri Dec 19 2025 - 06:14:32 EST


On Fri, Dec 19, 2025 at 01:33:50PM +0300, Dan Carpenter wrote:
> Free the "nmp" allocation before returning -EINVAL.
>
> Fixes: dc68c0f60169 ("xfs: fix the zoned RT growfs check for zone alignment")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>