commit | 21dc682a3842eb7e4c79f7e511d840e708d7e757 | [log] [tgz] |
---|---|---|
author | Andrey Albershteyn <aalbersh@redhat.com> | Tue Apr 23 14:36:14 2024 +0200 |
committer | Carlos Maiolino <cem@kernel.org> | Tue Apr 23 15:02:58 2024 +0200 |
tree | 27443a612cb8a747631eda0ba7cf1fb8be34be52 | |
parent | 90ee2c3a94511da87929989a06199fd537c94db4 [diff] |
xfs_db: fix leak in flist_find_ftyp() When count is zero fl reference is lost. Fix it by freeing the list. Fixes: a0d79cb37a36 ("xfs_db: make flist_find_ftyp() to check for field existance on disk") Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Bill O'Donnell <bodonnel@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrey Albershteyn <aalbersh@redhat.com>