diff --git a/src/math_eigen_impl.h b/src/math_eigen_impl.h index a48158de32..daef0e7052 100644 --- a/src/math_eigen_impl.h +++ b/src/math_eigen_impl.h @@ -849,6 +849,7 @@ void Jacobi:: Dealloc() { //assert(! is_preallocated); Dealloc2D(&M); + delete[] max_idx_row; Init(); }