Skip to content

Commit

Permalink
Fix leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Nov 29, 2024
1 parent 85888dc commit 077133d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/NSURLProtocol.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 077133d

Please sign in to comment.