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> |
||
---|---|---|
.. | ||
CCGLProgram.cpp | ||
CCGLProgram.h | ||
CCShaderCache.cpp | ||
CCShaderCache.h | ||
ccGLStateCache.cpp | ||
ccGLStateCache.h | ||
ccShaderEx_SwitchMask_frag.h | ||
ccShader_PositionColorLengthTexture_frag.h | ||
ccShader_PositionColorLengthTexture_vert.h | ||
ccShader_PositionColor_frag.h | ||
ccShader_PositionColor_vert.h | ||
ccShader_PositionTextureA8Color_frag.h | ||
ccShader_PositionTextureA8Color_vert.h | ||
ccShader_PositionTextureColorAlphaTest_frag.h | ||
ccShader_PositionTextureColor_frag.h | ||
ccShader_PositionTextureColor_vert.h | ||
ccShader_PositionTexture_frag.h | ||
ccShader_PositionTexture_uColor_frag.h | ||
ccShader_PositionTexture_uColor_vert.h | ||
ccShader_PositionTexture_vert.h | ||
ccShader_Position_uColor_frag.h | ||
ccShader_Position_uColor_vert.h | ||
ccShaders.cpp | ||
ccShaders.h |