From 83383d22284719736c2403bc31fa4a7f925f3c28 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 29 Nov 2001 17:07:19 +0000 Subject: [PATCH] Add comment. git-svn-id: https://svn.dealii.org/trunk@5313 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/legendre.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deal.II/base/source/legendre.cc b/deal.II/base/source/legendre.cc index 766725c7e6..208c3fd4d4 100644 --- a/deal.II/base/source/legendre.cc +++ b/deal.II/base/source/legendre.cc @@ -15,6 +15,15 @@ #include #include +//TODO:[?] This class leaks memory, but only at the very end of a program. +// Since it expands the Legendre::coefficients array, the elements +// of this static variable are not destroyed at the end of the program +// run. While this is not a problem (since the returned memory could +// not be used anyway then), it is a little confusing when looking at +// a memory checked such as "purify". Maybe, this should be handled somehow +// to avoid this confusion in future. + + // Reserve space for polynomials up to degree 19. Should be sufficient // for the start. -- 2.39.5