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

Valgrind reports leak in ScoringFunction #263

Open
envidian opened this issue Jan 3, 2024 · 0 comments
Open

Valgrind reports leak in ScoringFunction #263

envidian opened this issue Jan 3, 2024 · 0 comments

Comments

@envidian
Copy link

envidian commented Jan 3, 2024

==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)

Submitted below as a potential fix. Please review.

#262

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