In ec38f0002de74f343e808c2f5d6363003f5264e8, we introduced a guard for automatically releasing references to DirectWrite types to plug a small leak. Unfortunately, this change removed a call to Release() without putting the pointer inside a guard, hence it introduced another leak. This was noticeable if the font database was invalidated and repopulated multiple times. [ChangeLog][Windows] Fixed a memory leak when repopulating the DirectWrite font database. Task-number: QTBUG-129849 Change-Id: I59e3132b6836501b7756679ffac82fb65e3027cb Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 247cd80abdd5fc0bc6243581e506354a5509518e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%