summaryrefslogtreecommitdiff
path: root/ace/DLL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/DLL.cpp')
-rw-r--r--ace/DLL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/DLL.cpp b/ace/DLL.cpp
index 4602382dcfe..ec8ecce765b 100644
--- a/ace/DLL.cpp
+++ b/ace/DLL.cpp
@@ -163,7 +163,7 @@ ACE_DLL::save_last_error (void)
if (this->open_called_)
{
ACE::strdelete (this->last_error_);
- this->last_error_ = ACE_OS::dlerror ();
+ this->last_error_ = ACE::strnew (ACE_OS::dlerror ());
}
}