summaryrefslogtreecommitdiffstats
path: root/src/sql/doc/snippets/sqldatabase
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <[email protected]>2020-01-21 14:43:01 +0100
committerGiuseppe D'Angelo <[email protected]>2020-01-23 19:44:09 +0100
commite83c4e813840b8632ec44f00ee3daf2ba1b18133 (patch)
treef3d8e2a31680eb020d548b6052516134cfd94026 /src/sql/doc/snippets/sqldatabase
parent4d8a515a230ca9864a94830fd376a1d3ecbe6886 (diff)
QXmlStreamReader: fix memory leak
On some inputs a QXmlStreamReaderPrivate may allocate another QXmlStreamReaderPrivate as its entityResolver. Which, recursively, may allocate yet another one. This "chain" of QXmlStreamReaderPrivate objects was managed using raw pointers, and a leak was possible by resetting one of these pointers to nullptr without freeing the corresponding object. Change-Id: I2c6e1f023a2ed68b2b1857db25c53cce7f6bd3e7 Reviewed-by: Sona Kurazyan <[email protected]>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions