commit | 050a1952c3f9304eccddc4f084e2401b5205ff55 | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@redhat.com> | Wed Jul 31 20:33:47 2013 -0500 |
committer | Ben Myers <bpm@sgi.com> | Tue Aug 13 15:49:51 2013 -0500 |
tree | e36a2c47600197b7e7d7fe12c3051f1887d55eb2 | |
parent | 5d0a654974c5cac03ce7c577bcfd6bca0f2b2c5a [diff] |
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>