From b3ebe04e141e13f60ed23f508b5337b2faf248a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Kvalsvik?= Date: Wed, 10 Dec 2014 18:09:13 +0100 Subject: [PATCH] Adds missing preconditoner destruction. --- opm/core/linalg/LinearSolverPetsc.cpp | 1 + 1 file changed, 1 insertion(+) 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 ); } };