From 077133dda392faa349b99e2e2df14291b8bcc190 Mon Sep 17 00:00:00 2001 From: rfm Date: Fri, 29 Nov 2024 17:45:30 +0000 Subject: [PATCH] Fix leaks --- Source/NSURLProtocol.m | 1 + 1 file changed, 1 insertion(+) 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];