Updates will be applied - 3:30pm EDT (UTC -400). No downtime expected.

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 <kwrobot@kitware.com>
Reviewed-by: Bill Lorensen's avatarBill Lorensen <bill.lorensen@gmail.com>
Merge-request: !1962
parents c2311c03 bc164c33
Pipeline #26460 running with stage
in 179 minutes and 19 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;
reader->SetFileName(fname);
delete [] fname;
vtkNew<vtkExtractTimeSteps> extracter;
extracter->SetInputConnection(reader->GetOutputPort());
......
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