From 4dabde0ac148877b26bc246cc797363039696e53 Mon Sep 17 00:00:00 2001 From: fsonner Date: Mon, 27 Apr 2015 18:09:59 +0200 Subject: [PATCH] Remove duplicate memory freeing in GMRES --- include/deal.II/lac/solver_gmres.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/deal.II/lac/solver_gmres.h b/include/deal.II/lac/solver_gmres.h index dbe037f2d2..994d80dfa6 100644 --- a/include/deal.II/lac/solver_gmres.h +++ b/include/deal.II/lac/solver_gmres.h @@ -715,10 +715,6 @@ SolverGMRES::solve (const MATRIX &A, if (iteration_state != SolverControl::iterate) { - this->memory.free(r); - this->memory.free(x_); - - delete gamma_; break; } } -- 2.39.5