diff options
author | Patrick Luby <plubius@neooffice.org> | 2023-05-28 09:49:52 -0300 |
---|---|---|
committer | Patrick Luby <plubius@neooffice.org> | 2023-05-29 01:10:01 +0200 |
commit | cb4fb9e31e42ed719f435919d1ca671ba2d66863 (patch) | |
tree | a123d4103e9ad4215d76fab03f69b89abcdbefd5 /vcl/osx/a11ywrapper.mm | |
parent | 1bf7da609848652ad99d9bde844b90d37de80ffa (diff) |
Related tdf#tdf155376 fix minor memory leaks
Change-Id: I9cdc5fb38ffba113e3d069d9d766dbe1a82c492d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152352
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@neooffice.org>
(cherry picked from commit 7ae89a2ad89c9e7702fbd2b31269ee4c61fe5bcb)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152316
Diffstat (limited to 'vcl/osx/a11ywrapper.mm')
-rw-r--r-- | vcl/osx/a11ywrapper.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm index cb6fca0a9e29..96de29e07f77 100644 --- a/vcl/osx/a11ywrapper.mm +++ b/vcl/osx/a11ywrapper.mm @@ -855,7 +855,7 @@ static std::ostream &operator<<(std::ostream &s, NSObject *obj) { SolarMutexGuard aGuard; SAL_INFO("vcl.a11y", "[" << self << " accessibilityParameterizedAttributeNames]"); - NSMutableArray * attributeNames = [ [ NSMutableArray alloc ] init ]; + NSMutableArray * attributeNames = [ NSMutableArray array ]; // Special Attributes depending on interface if ( [ self accessibleText ] ) { [ AquaA11yTextWrapper addParameterizedAttributeNamesTo: attributeNames ]; |