--- branches/development/src/math/SquareMatrix.hpp 2013/05/10 16:09:34 1873 +++ branches/development/src/math/SquareMatrix.hpp 2013/05/15 15:09:35 1874 @@ -371,6 +371,10 @@ namespace OpenMD { //// this is NEVER called if ( i >= VTK_MAX_ROTATIONS ) { std::cout << "vtkMath::Jacobi: Error extracting eigenfunctions" << std::endl; + if (n > 4) { + delete[] b; + delete[] z; + } return 0; }