From: wolf Date: Thu, 29 Nov 2001 17:07:19 +0000 (+0000) Subject: Add comment. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83383d22284719736c2403bc31fa4a7f925f3c28;p=dealii-svn.git Add comment. git-svn-id: https://svn.dealii.org/trunk@5313 0785d39b-7218-0410-832d-ea1e28bc413d --- 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.