From b1d03de332d2f10e20a1f5a49cef77171749bd24 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Wed, 6 Feb 2008 20:24:19 +0000 Subject: [PATCH] Remove AppleConnect workaround 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 --- src/ccapi/lib/ccapi_ccache.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/ccapi/lib/ccapi_ccache.c b/src/ccapi/lib/ccapi_ccache.c index c36a2b0ef..3905a0696 100644 --- a/src/ccapi/lib/ccapi_ccache.c +++ b/src/ccapi/lib/ccapi_ccache.c @@ -157,19 +157,6 @@ cc_int32 ccapi_ccache_release (cc_ccache_t io_ccache) 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); } -- 2.26.2