qt5base-lts/tests/auto/xml
Sami Rosendahl 1bc31fa43d Fix memory leak in QDomDocument DTD notation declaration handler
The created notation node's reference count needs to be decremented to 0
before it is added as a child, because appendChild will increment the
reference count to correct value of 1. Also added autotest DTDNotationDecl
to tst_qdom to expose the leak when executed under valgrind memcheck.
There was no previous test coverage for the notation declarations in DTD.

Task-number: QTBUG-22588
Change-Id: I876186d1277ceb4414f803b58b62f51cc1474367
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-01-06 02:59:55 +01:00
..
dom Fix memory leak in QDomDocument DTD notation declaration handler 2012-01-06 02:59:55 +01:00
sax Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
xml.pro Moved xml autotests into new directory structure 2011-09-06 10:31:40 +02:00