Fix potential memory leak.
Fix potential memory leak.

ywzw2013/JTSImageViewController,jaredsinclair/JTSImageViewController,atone/JTSImageViewController,mattprowse/JTSImageViewController,ElfSundae/JTSImageViewController,FanPortal/JTSImageViewController,Kingside/JTSImageViewController