Fix memory leak of hostname attribute in reachability observer. fixes #268

This commit is contained in:
Blake Watters
2011-08-27 21:13:24 -04:00
parent edd3c8a065
commit f0768cc03c

View File

@@ -109,7 +109,8 @@ static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReach
if (_reachabilityRef) {
CFRelease(_reachabilityRef);
}
[_hostName release];
[super dealloc];
}