commit | d41c6172bd4031979eab722c265a2e5764383c3c | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@sandeen.net> | Mon Nov 27 18:23:32 2017 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Nov 28 08:57:11 2017 -0800 |
tree | 2d18e46cefdb44b649a1e60d4ab6e111c2eb5dfe | |
parent | d210a9874b8f6166579408131cb74495caff1958 [diff] |
xfs: fix leaks on corruption errors in xfs_bmap.c Use _GOTO instead of _RETURN so we can free the allocated cursor on error. Fixes: bf80628 ("xfs: remove xfs_bmse_shift_one") Fixes-coverity-id: 1423813, 1423676 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>