(And not to call CFBundleUnloadExecutable which is refcounted.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17962
dc483132-0cff-0310-8789-
dd5450dbe970
if (h->dlhandle != NULL) { dlclose(h->dlhandle); }
#endif
#if USE_CFBUNDLE
- /* Do not unload. CFBundleUnloadExecutable is not ref counted. */
+ /* Do not call CFBundleUnloadExecutable because it's not ref counted.
+ * CFRelease will unload the bundle if the internal refcount goes to zero. */
if (h->bundle != NULL) { CFRelease (h->bundle); }
#endif
free (h);