Import 2017-06-07 23:51:09: master fa32f741

Author Committer Branch Timestamp Parent
msmolens msmolens master 2015-09-21 09:08:10 master 75d95d19
Affected Issues 0004050: Fix memory leaks associated with py_DTINotReproducibleIssue3977
Changeset

BUG: Fix memory leaks associated with py_DTINotReproducibleIssue3977 test

In a debug build running py_DTINotReproducibleIssue3977 reports that a number of VTK
class instances leak.

This commit fixes a regression introduced in r24291 (ENH: Use vtkMRMLLabelMapVolumeNode
class for labelmap volumes) that caused leaks due to incorrect memory management on an
instance of vtkMRMLDiffusionTensorVolumeDisplayNode.

Fixes 0004050

From: Max Smolens <max.smolens@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24564 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Base/Logic/vtkSlicerApplicationLogic.cxx Diff File