Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix leak in NSIndexSetBlocksKitTest

Signed-off-by: Alexsander Akers <a2@pandamonia.us>
  • Loading branch information...
commit 866d3a0655720f0249dd8814bc2806eb5cb02aa4 1 parent 0e0c451
@a2 a2 authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 Tests/NSIndexSetBlocksKitTest.m
View
7 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) {
Please sign in to comment.
Something went wrong with that request. Please try again.