diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2013-09-17 10:14:36 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-20 12:05:52 +0200 |
commit | d18ccbb5be23eaea5eb5f1af2ae0fba334ab21d7 (patch) | |
tree | b792dea13f0fe29c80c9e8a355c55b3539ae6040 /src/src.pro | |
parent | 31db0aec22e083f038089052c34fc49c6b07c5f5 (diff) |
Fix memory leaks in the FT font engine
The glyph returned by loadGlpyh() must be freed manually when caching
is not enabled (that is, QT_USE_FT_CACHE is not set).
This change and https://codereview.qt-project.org/#change,65672
together should stop QGLWidget::renderText() from leaking memory
extensively.
Task-number: QTBUG-32792
Change-Id: Iff7e1591a1ea994a97b6a56bc16c64bf544e6713
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/src.pro')
0 files changed, 0 insertions, 0 deletions