Commit f3c67add authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot

Merge topic 'image-connectivity-filter'

7cafcc7c Fix memory leak in TestImageConnectivityFilter
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1957
parents f58e1dcf 7cafcc7c
Pipeline #26284 failed with stage
in 0 seconds
......@@ -53,8 +53,10 @@ int TestImageConnectivityFilter(int argc, char *argv[])
iren->SetInteractorStyle(style);
// Use a 3D image for the test
std::string fname =
char *temp =
vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/headsq/quarter");
std::string fname = temp;
delete [] temp;
vtkSmartPointer<vtkImageReader2> reader =
vtkSmartPointer<vtkImageReader2>::New();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment