More leak fixups

This commit is contained in:
rfm 2024-11-17 21:41:43 +00:00
parent 42fa1bf04a
commit 96bbc05b18
6 changed files with 17 additions and 13 deletions

View file

@ -431,6 +431,7 @@ typedef struct
this->_delegate = nil;
[o connection: self didFailWithError: error];
DESTROY(o);
DESTROY(this->_protocol);
}
- (void) URLProtocol: (NSURLProtocol *)protocol
@ -510,6 +511,7 @@ typedef struct
this->_delegate = nil;
[o connectionDidFinishLoading: self];
DESTROY(o);
DESTROY(this->_protocol);
}
- (void) URLProtocol: (NSURLProtocol *)protocol