Frameworks/AIUtilities Framework/Source/AISystemNetworkDefaults.m
branchadium-1.5.10.5
changeset 5997 d88e6711d0e0
parent 4071 da5bbdab941f
--- a/Frameworks/AIUtilities Framework/Source/AISystemNetworkDefaults.m	Mon Nov 04 10:23:55 2019 +0000
+++ b/Frameworks/AIUtilities Framework/Source/AISystemNetworkDefaults.m	Thu Nov 14 16:22:42 2019 -0500
@@ -140,8 +140,8 @@
 						// Work around <rdar://problem/5530166>.  This dummy call to 
 						// CFNetworkCopyProxiesForURL initialise some state within CFNetwork 
 						// that is required by CFNetworkCopyProxiesForAutoConfigurationScript.
-						CFRelease(CFNetworkCopyProxiesForURL(url, NULL));
-						
+                        CFRelease(CFNetworkCopyProxiesForURL(url, (CFDictionaryRef)@{}));
+
 						CFErrorRef error = NULL;
 						proxies = [(NSArray *)CFNetworkCopyProxiesForAutoConfigurationScript((CFStringRef)scriptStr, url, &error) autorelease];