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

Merge topic 'image-connectivity-filter'


 Fix memory leak in TestImageConnectivityFilter
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !1957
parents f58e1dcf 7cafcc7c
......@@ -53,8 +53,10 @@ int TestImageConnectivityFilter(int argc, char *argv[])
// 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 =
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