Permalink
Browse files

**PEDANT STRIKES!** Fix a memory leak in one of the unit tests

  • Loading branch information...
1 parent 47ba603 commit 153b1d380f89d10ae07e7d4f3bf353ce9a8a39b7 @pokeb committed Feb 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 ASIFormDataRequestTests.m
@@ -24,7 +24,7 @@ - (void)testPostWithFileUpload
ASIFormDataRequest *request = [[[ASIFormDataRequest alloc] initWithURL:url] autorelease];
- NSDate *d = [NSDate new];
+ NSDate *d = [NSDate date];
#if TARGET_OS_IPHONE
NSValue *v = [NSValue valueWithCGRect:CGRectMake(0, 0, 200, 200)];
#else

0 comments on commit 153b1d3

Please sign in to comment.