]> git.itanic.dy.fi Git - linux-stable/commit
xfs: fix some memory leaks in log recovery
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 14 Nov 2019 20:51:34 +0000 (12:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 16 Nov 2019 05:15:29 +0000 (21:15 -0800)
commit050552cbe06a3a9c3f977dcf11ff998ae1d5c2d5
treecaf67a96006757a139fcee2b73f96a8299cdcfc1
parentf368b29ba917ac202c3901019b78f15f4d773085
xfs: fix some memory leaks in log recovery

Fix a few places where we xlog_alloc_buffer a buffer, hit an error, and
then bail out without freeing the buffer.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_log_recover.c