Commit 119f54e6 authored by Burlen Loring's avatar Burlen Loring

fix memory leak in vtk writer

parent e9b0e9d9
......@@ -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