From: Daniel Arndt Date: Sun, 29 Apr 2018 13:14:06 +0000 (+0200) Subject: Call the correct deleter for ReadWriteVector::values X-Git-Tag: v9.0.0-rc1~58^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6aad7c784ef7a9782282752555ccb15b22a9fc9;p=dealii.git Call the correct deleter for ReadWriteVector::values --- 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