Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory leak when using small caps font
The small caps version of a font is kept as a QFontPrivate* which is manually reference counted, but we neglected to actually delete it when the reference count went to 0. [ChangeLog][Fonts] Fixed a memory leak when initializing a small caps font. Fixes: QTBUG-93068 Pick-to: 6.1 5.15 Change-Id: Icc7fb7a59bf523da84d2e6fa026940a7d1230525 Reviewed-by: Konstantin Ritt <[email protected]> Reviewed-by: Robert Löhning <[email protected]>
- Loading branch information