Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 153b1d380f89d10ae07e7d4f3bf353ce9a8a39b7 1 parent 47ba603
Ben Copsey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ASIFormDataRequestTests.m
2  ASIFormDataRequestTests.m
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.