Closed FeepingCreature closed 2 weeks ago
documents() is specified as QList<Document *> documents() const /Factory/; in Krita.sip. This means that the QList is cleaned up (/Factory/), but as Document* is very generic SIP has no idea what to do with them and they just leak.
documents()
QList<Document *> documents() const /Factory/;
Krita.sip
QList
/Factory/
Document*
documents()
is specified asQList<Document *> documents() const /Factory/;
inKrita.sip
. This means that theQList
is cleaned up (/Factory/
), but asDocument*
is very generic SIP has no idea what to do with them and they just leak.