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.documentfoundation.org/About-tdf-111432-leaks-memory-with-CFString-and-other-MacOs-stuff-tp4220037p4220038.html Sent from the Dev mailing list archive at Nabble.com. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice