cocos2d/cocos2d-iphone — pull request #588 by nickskull (2014-02-13 10:10:53+00:00)
Title: Fixing a leak in CCControl

This was the cause of a crash if the you repeatedly pressed a CCButton in short succession. The target wasn't deallocated and it crashed with EXC_BAD_ACCESS (code 1), which is an invalid pointer. This should fix it and since the deployment target is >= 5.0 there's no reason for it to be unsafe unretained.