]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fs/ntfs3: Avoid possible memory leak
authorSu Hui <suhui@nfschina.com>
Mon, 25 Sep 2023 04:48:07 +0000 (12:48 +0800)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 28 Sep 2023 12:04:06 +0000 (15:04 +0300)
commite4494770a5cad3c9d1d2a65ed15d07656c0d9b82
tree486591f6bf800a75239d5e40d826cd0960a6e5c5
parent85a4780dc96ed9dd643bbadf236552b3320fae26
fs/ntfs3: Avoid possible memory leak

smatch warn:
fs/ntfs3/fslog.c:2172 last_log_lsn() warn: possible memory leak of 'page_bufs'
Jump to label 'out' to free 'page_bufs' and is more consistent with
other code.

Signed-off-by: Su Hui <suhui@nfschina.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/fslog.c