Memory leaks in `cpppetsc::Mesh`
Some entities that are created when creating cpppetsc::Mesh
(PetscSection
, migration-SF
, global-to-natural-SF
) are not destroyed with the Mesh
by PETSc
, and the corresponding memory is not freed. This is particularly problematic when cloning and destroying a Mesh
in a loop.