cocos2d/cocos2d-js — pull request #660 by joshuastray (2014-08-05 08:56:32+00:00)
Title: issue  #5791 : use new/delete [] instead of malloc/free for object array

To create an array of object, malloc/free will not call the constructor/destructor of the class, and the members of the class maybe not initialized, and we need to call constructor manually.
The correct way is to use `new operator`.