DMMoab: close memory leaks by explicitly calling C++ destructors
* DMMoabCreateMoab() had 'new DM_Moab' overwriting the PetscNewLog() allocation from DMCreate_Moab(). Now use placement new and exp
DMMoab: close memory leaks by explicitly calling C++ destructors
* DMMoabCreateMoab() had 'new DM_Moab' overwriting the PetscNewLog() allocation from DMCreate_Moab(). Now use placement new and explicitly call ~Range().
* Add missing call to vmoab->tag_range.~Range().
show more ...
|