Panajev/cocos2d-iphone — comment on commit e67ba2674710cc291e45ae59d641324974a62bf8
File:  line 0
By araker:

I don't think this is a leak, self.textureAtlas adds a retain, alloc adds a retain and the release of the ivar brings the retain count back to 1. I agree that your pattern is a bit cleaner, but it's not a leak.