diff --git a/Source/NSURLProtocol.m b/Source/NSURLProtocol.m index 876cf429e..440e6d824 100644 --- a/Source/NSURLProtocol.m +++ b/Source/NSURLProtocol.m @@ -906,6 +906,7 @@ - (void) startLoading r = [[this->request mutableCopy] autorelease]; [r setURL: url]; + AUTORELEASE(RETAIN(self)); [this->client URLProtocol: self wasRedirectedToRequest: r redirectResponse: nil];