Skip to content

Commit

Permalink
Fix leak on -[TTURLRequestLoader cancel:]
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan del Strother authored and Jonathan del Strother committed Jun 12, 2009
1 parent b5e86f3 commit bf49af8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TTURLRequestQueue.m
Expand Up @@ -241,6 +241,7 @@ - (BOOL)cancel:(TTURLRequest*)request {
if (_connection) {
TTNetworkRequestStopped();
[_connection cancel];
[_connection release];
_connection = nil;
}
return NO;
Expand Down

0 comments on commit bf49af8

Please sign in to comment.