diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-09-25 15:18:33 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-09-25 15:18:33 +0300 |
commit | 48ac8f41d60a43dbc1b0743eaf8330547d173f85 (patch) | |
tree | bbebcadf16692ffbed2cd2eee5382204cc5e2e28 | |
parent | 1a30586c6fd40842d7c56915556139df5ec01c05 (diff) |
[Pango] Don't release string from familyName (#125)2019-06
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++) + { |