Gitlab.kitware.com will be offline between 8am and midnight (EST/UTC-0500) on Saturday, December 15th.

Commit c0c2ece8 authored by Burlen Loring's avatar Burlen Loring

Merge branch 'fix_writer_mem_leak' into 'master'

fix memory leak in vtk writer

See merge request !147
parents b67c56e0 119f54e6
......@@ -394,6 +394,8 @@ bool VTKPosthocIO::Execute(DataAdaptor* dataAdaptor)
}
}
it->Delete();
this->FileId[meshName] += 1;
// rank 0 keeps track of time info for meta file
......@@ -409,6 +411,8 @@ bool VTKPosthocIO::Execute(DataAdaptor* dataAdaptor)
}
}
dataAdaptor->ReleaseData();
return true;
}
......
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