Fix exceptional resource leak CID18095
Fix exceptional resource leak CID18105
Fix exceptional resource leak CID18106
Fix exceptional resource leak CID18107
Fix exceptional resource leak CID18118
Fix exceptional resource leak CID18127
Fix exceptional resource leak CID18132
Fix exceptional resource leak CID18139
Fix exceptional resource leak CID18144
Fix exceptional resource leak CID18153
Fix exceptional resource leak CID18155
Fix exceptional resource leak CID18169
Fix exceptional resource leak CID18175
Merge pull request #262 from alfaproject/exception_leaks

Fix some exception leaks