diff --git a/cocos2dx/particle_nodes/CCParticleSystem.cpp b/cocos2dx/particle_nodes/CCParticleSystem.cpp index 01682816ed..b6a584324f 100644 --- a/cocos2dx/particle_nodes/CCParticleSystem.cpp +++ b/cocos2dx/particle_nodes/CCParticleSystem.cpp @@ -258,7 +258,7 @@ namespace cocos2d { } } while (0); CCX_SAFE_FREE(buffer); - if(!deflated) + if(deflated) { delete [] deflated; }