**PEDANT STRIKES!** Fix a memory leak in one of the unit tests
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | 24 | ||
25 | ASIFormDataRequest *request = [[[ASIFormDataRequest alloc] initWithURL:url] autorelease]; | 25 | ASIFormDataRequest *request = [[[ASIFormDataRequest alloc] initWithURL:url] autorelease]; |
26 | 26 | ||
27 | - NSDate *d = [NSDate new]; | 27 | + NSDate *d = [NSDate date]; |
28 | #if TARGET_OS_IPHONE | 28 | #if TARGET_OS_IPHONE |
29 | NSValue *v = [NSValue valueWithCGRect:CGRectMake(0, 0, 200, 200)]; | 29 | NSValue *v = [NSValue valueWithCGRect:CGRectMake(0, 0, 200, 200)]; |
30 | #else | 30 | #else |
-
Please register or login to post a comment