标签: ios
有人可以告诉我为什么我会在以下代码中泄漏 还有如何去除泄漏
SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr*)&zeroAddress);
提前致谢
答案 0 :(得分:7)
CFRelease(reachability);
reachability。
reachability