cocos2d/cocos2d-x — pull request #6177 by DarraghCoy (2014-04-08 15:48:07+00:00)
Title: Small dangling ptr fix to CCEventDispatcher

If cleaning a target node that has a listener in the 'to be added' listeners list then ensure that listener does not have a stale reference to the node. This is a minor tweak in addition to pull request 6160 (https://github.com/cocos2d/cocos2d-x/pull/6160).