diff --git a/opm/core/linalg/LinearSolverPetsc.cpp b/opm/core/linalg/LinearSolverPetsc.cpp index 202db19b1..daaa71447 100644 --- a/opm/core/linalg/LinearSolverPetsc.cpp +++ b/opm/core/linalg/LinearSolverPetsc.cpp @@ -142,6 +142,7 @@ namespace{ VecDestroy( &b ); MatDestroy( &A ); KSPDestroy( &ksp ); + PCDestroy( &preconditioner ); } };