mustangostang/UIImage-Resize — pull request #2 by mikekloster (2013-04-11 19:32:34+00:00)
Title: Fix zombie caused when resizing down orientation

Previous memory leak fix introduced a new bug when resizing image having UIImageOrientationDown.

Other orientations return an image created with: CGBitmapContextCreateImage()
Thus, the caller owns the ImageRef

Down orientation returns existing self CGImage unaltered, thus not owned by caller.