Commit f9ee896c authored by Peter Franz's avatar Peter Franz

Ensure transform is deleted to avoid memory leaks.

parent 534de09f
......@@ -950,6 +950,7 @@ int vtkDelaunay2D::RequestData(
if (this->Transform)
{
this->Transform->UnRegister(this);
this->Transform->Delete();
this->Transform = nullptr;
}
}
......
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