From: Wolfgang Bangerth Date: Thu, 29 Nov 2001 17:07:19 +0000 (+0000) Subject: Add comment. X-Git-Tag: v8.0.0~18522 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bba565c4a6676f8a47af5976204a655587062a28;p=dealii.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.