main.cpp -> add

#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
#include <crtdbg.h>
#ifdef _DEBUG
#define new new(_CLIENT_BLOCK, __FILE__, __LINE__)
#endif
#endif

#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
	_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);	
#endif

CCValue.cpp : memory leak.