Skip to content

Commit

Permalink
autorelease
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagman committed May 13, 2024
1 parent 627e040 commit aa33ded
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shell/platform/darwin/ios/framework/Source/SemanticsObject.mm
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,9 @@ - (id)accessibilityContainer {

if ([self hasChildren] || self.uid == kRootNodeId) {
if (self.container == nil) {
self.container = [[SemanticsObjectContainer alloc] initWithSemanticsObject:self
bridge:self.bridge];
self.container =
[[[SemanticsObjectContainer alloc] initWithSemanticsObject:self
bridge:self.bridge] autorelease];
}
return self.container;
}
Expand Down

0 comments on commit aa33ded

Please sign in to comment.