Skip to content

BUG: Fix memory leaks in Session::offsetGlobalIds

Fix memory leaks in function Session::offsetGlobalIds. These leaks were detected during addition of tests to slicerSMTK [1] extension module.

The following leaks were reported by vtkDebugLeaks:

vtkDebugLeaks has detected LEAKS!
Class "vtkIntArray" has 2 instances still around.
Class "vtkInformation" has 4 instances still around.
Class "vtkInformationVector" has 2 instances still around.
Class "class vtkBuffer<int>" has 2 instances still around.
Class "vtkInformationDoubleVectorValue" has 2 instances still around.

[1] slicersmtk!5 (merged)

Edited by Shreeraj Jadhav

Merge request reports

Loading