Index: src/runtime/init.m ================================================================== --- src/runtime/init.m +++ src/runtime/init.m @@ -42,7 +42,6 @@ objc_unregister_all_selectors(); objc_forget_pending_static_instances(); objc_dtable_cleanup(); objc_global_mutex_unlock(); - objc_global_mutex_free(); } Index: src/runtime/threading.m ================================================================== --- src/runtime/threading.m +++ src/runtime/threading.m @@ -46,12 +46,5 @@ objc_global_mutex_unlock(void) { if (!of_rmutex_unlock(&global_mutex)) OBJC_ERROR("Failed to unlock global mutex!"); } - -void -objc_global_mutex_free(void) -{ - if (!of_rmutex_free(&global_mutex)) - OBJC_ERROR("Failed to free global mutex!"); -}