issue #3713: Memory leak fix after PR https://github.com/cocos2d/cocos2d-x/pull/5132

...