diff --git a/cocos2dx/layers_scenes_transitions_nodes/CCScene.cpp b/cocos2dx/layers_scenes_transitions_nodes/CCScene.cpp index 90e537e15e..c48f95c860 100644 --- a/cocos2dx/layers_scenes_transitions_nodes/CCScene.cpp +++ b/cocos2dx/layers_scenes_transitions_nodes/CCScene.cpp @@ -44,7 +44,9 @@ Scene::Scene() Scene::~Scene() { +#ifdef CC_USE_PHYSICS CC_SAFE_DELETE(_physicsWorld); +#endif } bool Scene::init()