Commit 7cafcc7c authored by David Gobbi's avatar David Gobbi
Browse files

Fix memory leak in TestImageConnectivityFilter

parent 60d9d023
Pipeline #26274 passed with stage
......@@ -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