qt6-bb10/tests/auto
Sami Rosendahl d55cdcd59f Fix memory leak in QDomDocument DTD entity declaration handler
The created entity 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 DTDEntityDecl
to tst_qdom to expose the leak when executed under valgrind memcheck.
There was no previous direct test case for unparsed entity declarations in
DTD, only indirect coverage via regression test cloneDTD_QTBUG8398.

Task-number: QTBUG-22587
Change-Id: I394ae9fc32d5b84e4ca287c5db4dd7effde6128b
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-01-06 02:59:59 +01:00
..
bic
compilerwarnings/data Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
corelib Fix compile error with qWarning() << myDateTime and QT_NO_DEBUG_OUTPUT 2012-01-05 15:02:56 +01:00
dbus Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
gui Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Make socket descriptors qintptr. 2012-01-05 15:07:51 +01:00
opengl Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
other Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
sql Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
testlib Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
tools Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
v8 Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
widgets Removed QApplication::setInputContext() 2012-01-05 11:40:08 +01:00
xml Fix memory leak in QDomDocument DTD entity declaration handler 2012-01-06 02:59:59 +01:00
auto.pro Re-enable 'check' target for tests/auto/gui on Mac OS X 2011-12-09 02:39:06 +01:00
network-settings.h Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
platformquirks.h Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
test.pl Update copyright year in license headers. 2012-01-05 06:36:56 +01:00