[Insight-developers] patch to reduce memory leaks in itkKdTree
Simon Warfield
simon.warfield at childrens.harvard.edu
Mon Feb 1 14:28:52 EST 2010
Dear Luis,
Xavier has created this patch which reduces memory leaks when using an
itkKdTree.
I would appreciate it if you could apply it to the code base.
On a design issue, on line 393 of itkKdTree.h the distance metric used
by the KdTree is hardcoded.
I suggest to modify the distance metric to be a template parameter,
with a default equal to the current hard coded metric.
This would allow for a KdTree to be used with alternative distance
metrics without having to copy the code and change the hard coded line.
Luis Ibanez wrote:
> About the KdTree Memory Leaks and
> the release schedule.
>
> We have not defined a hard date for
> the release. So, committing the bug
> fix now will work great.
>
> We could aim to release ITK 3.18 by
> the second week of February
> (for example).
>
>
> Would that be a convenient date ?
>
>
> Thanks
>
>
> Luis
>
>
--
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkKdTree.patch
Type: text/x-patch
Size: 1256 bytes
Desc: not available
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100201/23008b0a/attachment.bin>
More information about the Insight-developers
mailing list