Thank you Stephan for your feedback, I had missed this point.
Julien
--
View this message in context:
http://nabble.documentfoundation.org/About-tdf-111432-leaks-memory-with-CFString-and-other-MacOs-stuff-tp4220037p4220057.html
Sent from the Dev mailing list archive at Nabble.com.
On 08/07/2017 10:44 PM, julien2412 wrote:
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).
macosx_getLocale
Reading more, "CFArrayGuard arrGuard(subs);" line 85 (see
https://opengrok.libreoffice.org/xref/core/sal/osl/unx/osxlocale.cxx#85)
allows to release automatically the variable when leaving the scope.
So only the "static" question remains.
Julien
--
View this message in context:
http://nabble.