diff --git a/src/apps/3dmov/ViewCube.cpp b/src/apps/3dmov/ViewCube.cpp index 1f925c17ec..28f3118b84 100644 --- a/src/apps/3dmov/ViewCube.cpp +++ b/src/apps/3dmov/ViewCube.cpp @@ -110,7 +110,7 @@ Cube :: Cube(const float half_extent) */ Cube :: ~Cube() { - delete fGeometry; + delete [] fGeometry; } /* FUNCTION: Cube :: SetAngle