diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-10-21 13:36:55 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-11-05 13:03:39 +0100 |
commit | 468600c6ec28613b756193c5f780aac062f1acdf (patch) | |
tree | 87ab36c8d91d167ea9a7dfb26732349db83eca9f /fs/btrfs/file.c | |
parent | cf89af146b7e62af55470cf5f3ec3c56ec144a5e (diff) | |
download | linux-468600c6ec28613b756193c5f780aac062f1acdf.tar.gz linux-468600c6ec28613b756193c5f780aac062f1acdf.tar.bz2 linux-468600c6ec28613b756193c5f780aac062f1acdf.zip |
btrfs: ref-verify: fix memory leak in btrfs_ref_tree_mod
There is one error handling path that does not free ref, which may cause
a minor memory leak.
CC: stable@vger.kernel.org # 4.19+
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions