diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-08-01 03:33:47 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-13 22:49:51 +0200 |
commit | 050a1952c3f9304eccddc4f084e2401b5205ff55 (patch) | |
tree | e36a2c47600197b7e7d7fe12c3051f1887d55eb2 /fs/xfs/xfs_dquot_item.c | |
parent | xfs: free bp in xlog_find_zeroed() error path (diff) | |
download | linux-050a1952c3f9304eccddc4f084e2401b5205ff55.tar.xz linux-050a1952c3f9304eccddc4f084e2401b5205ff55.zip |
xfs:free bp in xlog_find_tail() error path
xlog_find_tail() currently leaks a bp on one error path.
There is no error target, so manually free the bp before
returning the error.
Found by Coverity.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dquot_item.c')
0 files changed, 0 insertions, 0 deletions