Fix static analyzer warnings about leaking CGImageSources

We aren't leaking them, but the analyzer couldn't tell.
Merge pull request #2 from github/analyzer-warnings

Fix static analyzer warnings about leaking CGImageSources