Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leaks in capstone tests #404

Open
bobpaw opened this issue Nov 23, 2023 · 0 comments
Open

Memory leaks in capstone tests #404

bobpaw opened this issue Nov 23, 2023 · 0 comments

Comments

@bobpaw
Copy link
Collaborator

bobpaw commented Nov 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant