Re: [PATCH] btrfs: ref-verify: Fix memleak in btrfs_ref_tree_mod

2020-11-05 Thread David Sterba
On Wed, Oct 21, 2020 at 01:36:55PM +0800, Dinghao Liu wrote: > There is one error handling path does not free ref, > which may cause a memory leak. > > Signed-off-by: Dinghao Liu Added to misc-next, thanks.

[PATCH] btrfs: ref-verify: Fix memleak in btrfs_ref_tree_mod

2020-10-20 Thread Dinghao Liu
There is one error handling path does not free ref, which may cause a memory leak. Signed-off-by: Dinghao Liu --- fs/btrfs/ref-verify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/btrfs/ref-verify.c b/fs/btrfs/ref-verify.c index 7f03dbe5b609..78693d3dd15b 100644 --- a/fs/btrfs/ref-ver