Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed log; fixed possible memory leak.

  • Loading branch information...
commit d06574fa50c937c5805c17038fdc1ff452a4863b 1 parent c5d1b25
@isutton authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 TKRequest.m
View
5 TKRequest.m
@@ -56,7 +56,7 @@ - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)err
- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response;
{
- NSLog(@"%@", response);
+
}
- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data;
@@ -66,7 +66,8 @@ - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data;
- (void)connectionDidFinishLoading:(NSURLConnection *)connection;
{
- [self connectionDidFinishLoadingData:_receivedData];
+ [self connectionDidFinishLoadingData:_receivedData];
+ [_receivedData release]; _receivedData = nil;
}
#pragma mark - API
Please sign in to comment.
Something went wrong with that request. Please try again.