diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-08-07 19:31:58 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-08-07 19:46:41 +0200 |
commit | bc5bd201609ae197f320823880e66187ae94c98a (patch) | |
tree | 88fe62c483c4ed26531b9d97f4c69909d542485e /vcl/quartz | |
parent | 4aca927040f67c2b68f412234e37ec740346a005 (diff) |
tdf#111432: fix leaks in AddTempDevFont with CFRelease
Change-Id: I11183b7fd21d2398de9e5f5854763cef96963caa
Reviewed-on: https://gerrit.libreoffice.org/40845
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/salgdi.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx index b1d393876e16..edd38fa4559b 100644 --- a/vcl/quartz/salgdi.cxx +++ b/vcl/quartz/salgdi.cxx @@ -300,6 +300,8 @@ static bool AddTempDevFont(const OUString& rFontFileURL) { CFRelease(error); } + CFRelease(rFontPath); + CFRelease(rFontURL); return success; } |