From 2ad623d0b376b5aa0e2f9c89ff478f8f159c98a3 Mon Sep 17 00:00:00 2001 From: Sergei Golovin Date: Thu, 7 Mar 2024 14:49:14 +0400 Subject: [PATCH] use the macro AUTORELEASE instead of -autorelease --- Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m b/Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m index 0dd1d493a..a89b32d69 100644 --- a/Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m +++ b/Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m @@ -469,7 +469,7 @@ didReceiveResponse:(NSURLResponse *)response { d = [d mutableCopy]; [(NSMutableDictionary *)d setObject: protocol forKey: @"Protocol"]; - [d autorelease]; + AUTORELEASE(d); } address = [instance address];