GitHub 7865 haspropwithvaluequery leaks (#7872)

* Properly cleanup Dict::Pair when serializing HasPropWithQueryValue

* Make sure pickling doesn't change original molecule

* Fix bad cut and paste

* Add PairHolder utility class for memory management of non Dict Dict::Pairs, fix mem leak in pickler

* Edit comment to force a rebuild

* Ignore PairHolder from Java/Swig builds

* Ignore PairHolder API from swig

* Reponses to review

* Add backward incompatible change

* Make release note a bullet point
This commit is contained in:
Brian Kelley
2024-10-30 01:12:40 -04:00
committed by greg landrum
parent e35079c949
commit c821750712
8 changed files with 64 additions and 13 deletions

View File

@@ -36,6 +36,9 @@
%}
%ignore RDKit::RecursiveStructureQuery::d_mutex;
%ignore RDKit::HasPropWithValueQuery::getPair;
%ignore RDKit::HasPropWithValueQueryBase::getPair;
%include <Query/QueryObjects.h>
%include <Query/EqualityQuery.h>
%include <GraphMol/QueryOps.h>