mirror of https://github.com/lammps/lammps.git
avoid memory leak
This commit is contained in:
parent
d1321a0860
commit
c496b18a9d
|
@ -849,6 +849,7 @@ void Jacobi<Scalar, Vector, Matrix, ConstMatrix>::
|
|||
Dealloc() {
|
||||
//assert(! is_preallocated);
|
||||
Dealloc2D(&M);
|
||||
delete[] max_idx_row;
|
||||
Init();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue