vcl/quartz/salgdi.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit ec60beaf9e73beccf348726d0be4e28f35abe38a Author: Julien Nabet <serval2...@yahoo.fr> Date: Mon Aug 7 19:31:58 2017 +0200
tdf#111432: fix leaks in AddTempDevFont with CFRelease Change-Id: I11183b7fd21d2398de9e5f5854763cef96963caa Reviewed-on: https://gerrit.libreoffice.org/40845 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@yahoo.fr> (cherry picked from commit bc5bd201609ae197f320823880e66187ae94c98a) Reviewed-on: https://gerrit.libreoffice.org/40847 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx index da410cb44c46..b81528e78577 100644 --- a/vcl/quartz/salgdi.cxx +++ b/vcl/quartz/salgdi.cxx @@ -301,6 +301,8 @@ static bool AddTempDevFont(const OUString& rFontFileURL) { CFRelease(error); } + CFRelease(rFontPath); + CFRelease(rFontURL); return success; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits