diff options
| author | buliabyak <> | 2013-09-28 20:27:10 +0000 |
|---|---|---|
| committer | buliabyak <> | 2013-09-28 20:27:10 +0000 |
| commit | 6b8c701e9d74cff5c0b2eaa2b678d8e9f7410658 (patch) | |
| tree | 8f54e4707fce6bd30de4a9224f3c1ea52e811083 /src/libnrtype | |
| parent | order correction: unreffing fonts in ents needs loadedPtr so that must go bef... (diff) | |
| download | inkscape-6b8c701e9d74cff5c0b2eaa2b678d8e9f7410658.tar.gz inkscape-6b8c701e9d74cff5c0b2eaa2b678d8e9f7410658.zip | |
FontInstances were being leaked here by overreffing - every call to Face must unref when done
(bzr r12620)
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/Layout-TNG-Compute.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libnrtype/Layout-TNG-Compute.cpp b/src/libnrtype/Layout-TNG-Compute.cpp index 7ea089c93..973db0165 100644 --- a/src/libnrtype/Layout-TNG-Compute.cpp +++ b/src/libnrtype/Layout-TNG-Compute.cpp @@ -980,6 +980,7 @@ void Layout::Calculator::_buildPangoItemizationForPara(ParagraphInfo *para) con attribute_font_description->end_index = para_text.bytes(); pango_attr_list_insert(attributes_list, attribute_font_description); // ownership of attribute is assumed by the list + font->Unref(); } } |
