SCOREC / core

parallel finite element unstructured meshes
Other
181 stars 63 forks source link

Memory leaks in capstone tests #404

Open bobpaw opened 10 months ago

bobpaw commented 10 months ago

There are memory leaks in the capCyl, capCube, and capWing tests. I think most of them are confined to the capstone library. There is one that might be associated with MeshCAP::end() not correctly destroying the iterator. Since it uses SmartMeshIterator, the free should be handled when all other iterators go out of scope.

valgrind --leak-check=full --show-kinds=all capCyl output: valgrind_capcyl.txt