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

@ -16,7 +16,7 @@ int main()
httpURL = [NSURL URLWithString: @"http://www.gnustep.org"];
TEST_FOR_CLASS(@"NSURLConnection", [NSURLConnection alloc],
TEST_FOR_CLASS(@"NSURLConnection", AUTORELEASE([NSURLConnection alloc]),
"NSURLConnection +alloc returns an NSURLConnection");
mutable = [NSMutableURLRequest requestWithURL: httpURL];