diff options
Diffstat (limited to 'main/sorcery.c')
-rw-r--r-- | main/sorcery.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/main/sorcery.c b/main/sorcery.c index c79675cd8..902870793 100644 --- a/main/sorcery.c +++ b/main/sorcery.c @@ -388,20 +388,17 @@ int ast_sorcery_init(void) wizards = ao2_container_alloc_hash(AO2_ALLOC_OPT_LOCK_MUTEX, 0, WIZARD_BUCKETS, ast_sorcery_internal_wizard_hash_fn, NULL, ast_sorcery_internal_wizard_cmp_fn); if (!wizards) { - sorcery_cleanup(); return -1; } observers = ao2_container_alloc_list(AO2_ALLOC_OPT_LOCK_RWLOCK, 0, NULL, NULL); if (!observers) { - sorcery_cleanup(); return -1; } instances = ao2_container_alloc_hash(AO2_ALLOC_OPT_LOCK_RWLOCK, 0, INSTANCE_BUCKETS, sorcery_proxy_hash_fn, NULL, sorcery_proxy_cmp_fn); if (!instances) { - sorcery_cleanup(); return -1; } |