cocos2d/cocos2d-x — pull request #5502 by gelldur (2014-03-01 19:15:36+00:00)
Title: Fixing bug with use after release.

Child which is released after parent (CCSpriteBatchNode) will use
already released parent.

check http://www.cocos2d-x.org/forums/6/topics/44993?r=45023#message-45023