mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
chore(Deps/Acelite): Update to 6.5.10 (#3450)
This commit is contained in:
10
deps/acelite/ace/DLL.cpp
vendored
10
deps/acelite/ace/DLL.cpp
vendored
@@ -101,7 +101,11 @@ ACE_DLL::~ACE_DLL (void)
|
||||
// occur if full ACE_DLL initialization is interrupted due to errors
|
||||
// (e.g. attempting to open a DSO/DLL that does not exist). Make
|
||||
// sure this->dll_name_ is deallocated.
|
||||
#if defined (ACE_HAS_ALLOC_HOOKS)
|
||||
ACE_Allocator::instance()->free (this->dll_name_);
|
||||
#else
|
||||
delete [] this->dll_name_;
|
||||
#endif /* ACE_HAS_ALLOC_HOOKS */
|
||||
}
|
||||
|
||||
// This method opens the library based on the mode specified using the
|
||||
@@ -221,7 +225,11 @@ ACE_DLL::close (void)
|
||||
|
||||
// Even if close_dll() failed, go ahead and cleanup.
|
||||
this->dll_handle_ = 0;
|
||||
#if defined (ACE_HAS_ALLOC_HOOKS)
|
||||
ACE_Allocator::instance()->free (this->dll_name_);
|
||||
#else
|
||||
delete [] this->dll_name_;
|
||||
#endif /* ACE_HAS_ALLOC_HOOKS */
|
||||
this->dll_name_ = 0;
|
||||
this->close_handle_on_destruction_ = false;
|
||||
|
||||
@@ -268,7 +276,7 @@ ACE_DLL::set_handle (ACE_SHLIB_HANDLE handle,
|
||||
{
|
||||
ACE_TRACE ("ACE_DLL::set_handle");
|
||||
|
||||
// Create a unique name. Note that this name is only quaranteed
|
||||
// Create a unique name. Note that this name is only guaranteed
|
||||
// to be unique for the life of this object.
|
||||
ACE_TCHAR temp[ACE_UNIQUE_NAME_LEN];
|
||||
ACE_OS::unique_name (this, temp, ACE_UNIQUE_NAME_LEN);
|
||||
|
||||
Reference in New Issue
Block a user