From e6aad7c784ef7a9782282752555ccb15b22a9fc9 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 29 Apr 2018 15:14:06 +0200 Subject: [PATCH] Call the correct deleter for ReadWriteVector::values --- include/deal.II/lac/read_write_vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/lac/read_write_vector.h b/include/deal.II/lac/read_write_vector.h index 2a89b6223c..e51958adaa 100644 --- a/include/deal.II/lac/read_write_vector.h +++ b/include/deal.II/lac/read_write_vector.h @@ -610,7 +610,7 @@ namespace LinearAlgebra /** * Pointer to the array of local elements of this vector. */ - std::unique_ptr values; + std::unique_ptr values = std::unique_ptr (nullptr, free); /** * For parallel loops with TBB, this member variable stores the affinity -- 2.39.5