[Libreoffice-commits] core.git: vcl/quartz
Julien Nabet
serval2412 at yahoo.fr
Tue Aug 8 16:59:03 UTC 2017
vcl/quartz/salgdi.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 986cd454b2a39ac380b137148f944c0d5ead2631
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue Aug 8 18:55:17 2017 +0200
tdf#111497: fix leak in FindFontSubstitute with CFRelease
Change-Id: I9d7de52b4a1ee102b233b982e97ecbf731b476f2
Reviewed-on: https://gerrit.libreoffice.org/40895
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index edd38fa4559b..42bb48ffefd4 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -92,6 +92,7 @@ bool CoreTextGlyphFallbackSubstititution::FindFontSubstitute(FontSelectPattern&
rPattern.mpFontData = pSalData->mpFontList->GetFontDataFromId(reinterpret_cast<sal_IntPtr>(pDesc));
CFRelease(pFallback);
+ CFRelease(pDesc);
}
CFRelease(pStr);
}
More information about the Libreoffice-commits
mailing list