fix warning in XCode5 fix leak in IOS7

fix warning in XCode5 fix leak in IOS7