[Rdkit-discuss] Memory leak: new operator in RxnSmartsToChemicalReaction
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Jarod Y. <jar...@ho...> - 2023-07-03 17:46:00
|
The function RxnSmartsToChemicalReaction() returns a pointer to a ChemicalReaction object. Is this pointer a std::unique_ptr? How does one deallocate said pointer after it goes out of scope? Valgrind identifies a definite memory loss in libRDKitChemReactions.so from a new(unsigned long) Thanks, J Sent from my iPhone |