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:
Ric
2020-04-17 11:48:58 -04:00
committed by GitHub
parent 66a38d3751
commit 39bcee635e
15 changed files with 351 additions and 116 deletions

View File

@@ -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];
}