Fix memory leak in IOS7