mirror of https://github.com/axmolengine/axmol.git
2e221ee6cc
In many places `Dictionary` and `Array` are not being initialized. In fact `Dictionary` doesn't have the `init()` method creating potential leaks. Also in objects like `Armature` and the new `LabelTTF`, the `Array` object is not being used a pointer. So it doesn't use the 2 phase initialization, creating potential leaks. This patch fixes all those issues. Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com> |
||
---|---|---|
.. | ||
CCAnimation.cpp | ||
CCAnimation.h | ||
CCAnimationCache.cpp | ||
CCAnimationCache.h | ||
CCSprite.cpp | ||
CCSprite.h | ||
CCSpriteBatchNode.cpp | ||
CCSpriteBatchNode.h | ||
CCSpriteFrame.cpp | ||
CCSpriteFrame.h | ||
CCSpriteFrameCache.cpp | ||
CCSpriteFrameCache.h |