AppleConnect fixed their bug and this workaround can be removed.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20221
dc483132-0cff-0310-8789-
dd5450dbe970
if (!err) {
cci_identifier_release (ccache->identifier);
-#if TARGET_OS_MAC
-#warning Workaround for AppleConnect crash causes leak
- CFBundleRef main_bundle = CFBundleGetMainBundle ();
- if (main_bundle) {
- CFStringRef bundle_id = CFBundleGetIdentifier (main_bundle);
- if (bundle_id) {
- CFStringRef ac_id = CFSTR("com.apple.ist.ds.appleconnect");
- if (CFStringCompare (bundle_id, ac_id, 0) == kCFCompareEqualTo) {
- return ccNoError;
- }
- }
- }
-#endif
free ((char *) ccache->functions);
free (ccache);
}