chore(Deps/Acelite): Update to 6.5.10 (#3450)

This commit is contained in:
Kargatum
2020-11-11 22:09:02 +07:00
committed by GitHub
parent a93565b6da
commit e27201cee2
921 changed files with 18238 additions and 33164 deletions

View File

@@ -42,9 +42,15 @@ ACE_Framework_Repository::open (int size)
ACE_Framework_Component **temp = 0;
#if defined (ACE_HAS_ALLOC_HOOKS)
ACE_ALLOCATOR_RETURN (temp,
static_cast<ACE_Framework_Component**> (ACE_Allocator::instance()->malloc(sizeof(ACE_Framework_Component*) * size)),
-1);
#else
ACE_NEW_RETURN (temp,
ACE_Framework_Component *[size],
-1);
#endif /* ACE_HAS_ALLOC_HOOKS */
this->component_vector_ = temp;
this->total_size_ = size;
@@ -73,7 +79,11 @@ ACE_Framework_Repository::close (void)
delete s;
}
#if defined (ACE_HAS_ALLOC_HOOKS)
ACE_Allocator::instance()->free(this->component_vector_);
#else
delete [] this->component_vector_;
#endif /* ACE_HAS_ALLOC_HOOKS */
this->component_vector_ = 0;
this->current_size_ = 0;
}