mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-07 22:44:25 +08:00
Mem checkup (#3083)
* clean up in testDatastructs * avoid jump on unassigned mem in rxns * set valgrind error exit code * update suppressions * clean up RDValue in testDict * don't leak mol if parsing Maestro file fails * don't leak mol if parsing PDB block fails * cleanup leftover rxns in testReaction * cleanup mol if CX extensions cannot be parsed * cleanup leftover mols in smiTest1 * cleanup leftover mols in moldraw2DTest1 * cleanup leftover mols in testSubstructMatch * make testEnumeration go easier on valgrind * reduce R counts
This commit is contained in:
@@ -1425,6 +1425,7 @@ void test16BitVectProps() {
|
||||
RDValue newValue;
|
||||
TEST_ASSERT(handler->read(ss, newValue));
|
||||
TEST_ASSERT(from_rdvalue<ExplicitBitVect>(newValue) == bv);
|
||||
newValue.destroy();
|
||||
}
|
||||
delete handlers[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user