core icon indicating copy to clipboard operation
core copied to clipboard

Memory leaks in capstone tests

Open bobpaw opened this issue 2 years ago • 0 comments

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

bobpaw avatar Nov 23 '23 18:11 bobpaw