vcl/quartz/salgdi.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1756d2145e7ab70f5bb32a8343f5b1e4869bd0ee
Author: Julien Nabet <[email protected]>
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 <[email protected]>
Tested-by: Julien Nabet <[email protected]>
(cherry picked from commit 986cd454b2a39ac380b137148f944c0d5ead2631)
Reviewed-on: https://gerrit.libreoffice.org/40896
Tested-by: Jenkins <[email protected]>
Reviewed-by: Christian Lohmaier <[email protected]>
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index b81528e78577..45a4f245e17c 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -93,6 +93,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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits