Permalink
Browse files

Fix leak in NSIndexSetBlocksKitTest

Signed-off-by: Alexsander Akers <a2@pandamonia.us>
  • Loading branch information...
1 parent 0e0c451 commit 866d3a0655720f0249dd8814bc2806eb5cb02aa4 @a2 a2 committed Jun 4, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 Tests/NSIndexSetBlocksKitTest.m
@@ -16,13 +16,18 @@ - (void)setUpClass {
}
- (void)tearDownClass {
- [_target release];
+ [_subject release];
}
- (void)setUp {
_target = [[NSMutableArray alloc] initWithObjects:@"0",@"0",@"0",@"0",nil];
}
+- (void)tearDown
+{
+ [_target release];
+}
+
- (void)testEach {
__block NSMutableString *order = [NSMutableString string];
BKIndexBlock indexBlock = ^(NSUInteger index) {

0 comments on commit 866d3a0

Please sign in to comment.