Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for error before deferring to close resource
In case of error, returned resource is always nil. Deference it only when call was successful Closes #113
- Loading branch information