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

Fix leak in Vina::m_scoring_function reported by valgrind #262

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

envidian
Copy link

@envidian envidian commented Jan 3, 2024

Fixes leaks reported by valgrind as below (before fix). After fix, this is no longer reported.

==195708== 120 bytes in 5 blocks are definitely lost in loss record 580 of 1,478
==195708== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==195708== by 0x216113: ScoringFunction::ScoringFunction(scoring_function_choice, std::vector<float, std::allocator > const&) (scoring_function.h:50)
==195708== by 0x206D06: Vina::set_forcefield() (vina.cpp:456)
....

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

Successfully merging this pull request may close these issues.

1 participant