aft.c: Don't call osl_close_disk_object() on failure.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 21 Dec 2014 14:35:19 +0000 (14:35 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 11 Jan 2015 14:56:00 +0000 (15:56 +0100)
commitb6161b3a38321a3d6fb019f71f9a00d71e105f5d
treefea5aaa3e37ae3ca1d271fe92a7646f57e1301ec
parent83de7d8cce8b95628507bd151444a51e172991fb
aft.c: Don't call osl_close_disk_object() on failure.

If osl_open_disk_object() fails, we branch to the "err" label where
osl_close_disk_object() is called although no disk object exists. Fix
this by simply returning the osl error code in this case.
aft.c