Fix swapchain image view leaks and misc tidy
I did mistake in the !1417 (merged) MR, so here is the fix. Also improved the error path a tiny bit and some tidy.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
I did mistake in the !1417 (merged) MR, so here is the fix. Also improved the error path a tiny bit and some tidy.