vcl/quartz/salgdi.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 986cd454b2a39ac380b137148f944c0d5ead2631 Author: Julien Nabet <serval2...@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 <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits