Commit 72835ce2 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Kitware Robot

Merge topic 'fix_leak'

bc164c33 Fix leak in TestExtractTimeSteps.
Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: Bill Lorensen's avatarBill Lorensen <>
Merge-request: !1962
parents c2311c03 bc164c33
Pipeline #26460 canceled with stage
in 0 seconds
......@@ -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