diff options
author | iain <iaholmes@microsoft.com> | 2019-09-25 14:57:03 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-09-25 14:57:03 +0300 |
commit | 12028dc19a1a5c13b613ce007ed1ea0dae9c1d02 (patch) | |
tree | bbebcadf16692ffbed2cd2eee5382204cc5e2e28 | |
parent | 4693825ec3b8e7031ae4d1f57813abfd8b60d63b (diff) |
[Pango] Don't release string from familyName (#121)
familyName is not a copied string, so don't release it
Fixes VSTS #976682
-rw-r--r-- | packages/patches/pango-system-font-single.patch | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/patches/pango-system-font-single.patch b/packages/patches/pango-system-font-single.patch index c208222..b294af6 100644 --- a/packages/patches/pango-system-font-single.patch +++ b/packages/patches/pango-system-font-single.patch @@ -427,7 +427,7 @@ index bcbb173..4234bf1 100644 fontset = g_hash_table_lookup (ctfontmap->fontset_hash, &key); if (G_LIKELY (fontset)) -@@ -1450,6 +1430,53 @@ pango_core_text_font_map_init (PangoCoreTextFontMap *ctfontmap) +@@ -1450,6 +1430,52 @@ pango_core_text_font_map_init (PangoCoreTextFontMap *ctfontmap) CFRelease (dict); } @@ -438,7 +438,6 @@ index bcbb173..4234bf1 100644 + + NSArray *fontfaces = [[NSFontManager sharedFontManager] availableMembersOfFontFamily: name]; + int num_faces = [fontfaces count]; -+ CFRelease (name); + + for (int faceindex = 0; faceindex < num_faces; faceindex++) + { |