summaryrefslogtreecommitdiffstats
path: root/macosx/HBTreeNode.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-03-17 13:56:21 +0000
committerritsuka <[email protected]>2015-03-17 13:56:21 +0000
commit48a9e546878ae074202e0301f428193b7915d68f (patch)
treecf3f0f270fc8c7430dec870e954c826926c02a60 /macosx/HBTreeNode.m
parent220bd888e05696acbe1dd47f96ded78c389fc27f (diff)
MacGui: convert the mac gui to Objective-C ARC.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBTreeNode.m')
-rw-r--r--macosx/HBTreeNode.m11
1 files changed, 1 insertions, 10 deletions
diff --git a/macosx/HBTreeNode.m b/macosx/HBTreeNode.m
index c6a8f0959..a2a69f406 100644
--- a/macosx/HBTreeNode.m
+++ b/macosx/HBTreeNode.m
@@ -18,12 +18,6 @@
return self;
}
-- (void)dealloc
-{
- [_children release];
- [super dealloc];
-}
-
- (NSUInteger)countOfChildren
{
return self.children.count;
@@ -57,7 +51,7 @@
NSMutableArray *indexesQueue = [[NSMutableArray alloc] init];
[queue addObject:self];
- [indexesQueue addObject:[[[NSIndexPath alloc] init] autorelease]];
+ [indexesQueue addObject:[[NSIndexPath alloc] init]];
HBTreeNode *node = nil;
while ((node = [queue lastObject]) != nil)
@@ -87,9 +81,6 @@
[queue addObject:childNode];
}
}
-
- [queue release];
- [indexesQueue release];
}
@end