Commit bc164c33 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Fix leak in TestExtractTimeSteps.

parent 7fe30aa1
Pipeline #26430 passed with stage
......@@ -32,9 +32,10 @@ const double e = 1e-5;
int TestExtractTimeSteps(int argc, char *argv[])
const char *fname = vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/can.ex2");
char *fname = vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/can.ex2");
vtkNew<vtkExodusIIReader> reader;
delete [] fname;
vtkNew<vtkExtractTimeSteps> extracter;
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