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> |
||
---|---|---|
.. | ||
CCArmatureDataManager.cpp | ||
CCArmatureDataManager.h | ||
CCArmatureDefine.h | ||
CCConstValue.h | ||
CCDataReaderHelper.cpp | ||
CCDataReaderHelper.h | ||
CCSpriteFrameCacheHelper.cpp | ||
CCSpriteFrameCacheHelper.h | ||
CCTransformHelp.cpp | ||
CCTransformHelp.h | ||
CCTweenFunction.cpp | ||
CCTweenFunction.h | ||
CCUtilMath.cpp | ||
CCUtilMath.h |