xfs: fix a memory leak
authorDarrick J. Wong <djwong@kernel.org>
Wed, 24 Jul 2024 05:11:55 +0000 (22:11 -0700)
committerChandan Babu R <chandanbabu@kernel.org>
Mon, 29 Jul 2024 03:55:01 +0000 (09:25 +0530)
commit80d3d33cdf4b0494b465087eb34d2e29d86e290e
treec5da126b3e1dd24d6240882dc0d94704edc4a918
parent8400291e289ee6b2bf9779ff1c83a291501f017b
xfs: fix a memory leak

kmemleak reported that we don't free the parent pointer names here if we
found corruption.

Fixes: 0d29a20fbdba8 ("xfs: scrub parent pointers")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/scrub/parent.c