Re: [PATCH] btrfs: Fix a memory leak in btrfs_ioctl_balance()

From: David Sterba
Date: Fri Apr 22 2022 - 17:55:57 EST


On Thu, Apr 21, 2022 at 05:51:17PM +0800, Haowen Bai wrote:
> Free "bargs" before return.
>
> Signed-off-by: Haowen Bai <baihaowen@xxxxxxxxx>

Thanks for the report, as the leak was in a staged patch it can be fixed
in place, which I did by applying a fixup from Nikolay.