diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2017-11-27 18:23:32 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-11-28 08:57:11 -0800 |
commit | d41c6172bd4031979eab722c265a2e5764383c3c (patch) | |
tree | 2d18e46cefdb44b649a1e60d4ab6e111c2eb5dfe /.cocciconfig | |
parent | d210a9874b8f6166579408131cb74495caff1958 (diff) | |
download | linux-d41c6172bd4031979eab722c265a2e5764383c3c.tar.bz2 |
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>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions