From: Patrik Gornicz Date: Sat, 2 Aug 2008 01:19:07 +0000 (-0400) Subject: fixed a mismatced new[] with a delete[] X-Git-Tag: physics-premerge~174 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=commitdiff_plain;h=b8adb435d85694b9b62e8be2fd63fe41b361a132;p=libbear.git fixed a mismatced new[] with a delete[] --- diff --git a/src/effectManager.cpp b/src/effectManager.cpp index cc3eb73..c22510a 100644 --- a/src/effectManager.cpp +++ b/src/effectManager.cpp @@ -25,7 +25,7 @@ void effect::clean() delete effects[i]; } - delete effects; + delete[] effects; } Vector2 effect::positionDelta(const PhysicsEntity* e, float time_step)