Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi,

Following tdf#111432 (AddTempDevFont(const OUString& rFontFileURL) leaks
memory on invocation
https://bugs.documentfoundation.org/show_bug.cgi?id=111432, I'm searching
some similar cases.
First one I noticed is "subs" in "macosx_getLocale" method (see
https://opengrok.libreoffice.org/xref/core/sal/osl/unx/osxlocale.cxx#82)
which should be CFReleased before returning.

But in this same method, I wonder if it'd be ok to make "sref" (see
https://opengrok.libreoffice.org/xref/core/sal/osl/unx/osxlocale.cxx#77)
static in order to avoid calling n times "getProcessLocale" method (defined
some lines above).

Any thoughts?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/About-tdf-111432-leaks-memory-with-CFString-and-other-MacOs-stuff-tp4220037.html
Sent from the Dev mailing list archive at Nabble.com.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.