summaryrefslogtreecommitdiff
path: root/ace/Object_Manager.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-23 21:10:42 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-23 21:10:42 +0000
commitfc094801057c70ddd671873d58fe8440e5251a14 (patch)
tree38e0875f68e0b88f641d57c9d5926333dc44027b /ace/Object_Manager.cpp
parentfb7b4947295d9ef957687513fa4c72c67d01f2cb (diff)
downloadATCD-fc094801057c70ddd671873d58fe8440e5251a14.tar.gz
ChangeLogTag: Thu Mar 23 15:09:22 2000 Jody Hagins <jody@atdesk.com>
Diffstat (limited to 'ace/Object_Manager.cpp')
-rw-r--r--ace/Object_Manager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/Object_Manager.cpp b/ace/Object_Manager.cpp
index a3037cd93ce..59e16021b88 100644
--- a/ace/Object_Manager.cpp
+++ b/ace/Object_Manager.cpp
@@ -804,8 +804,9 @@ ACE_Static_Object_Lock::instance (void)
{
return 0;
}
- ACE_NEW (ACE_Static_Object_Lock_lock,
- (buffer) ACE_Static_Object_Lock_Type ());
+ ACE_NEW_RETURN (ACE_Static_Object_Lock_lock,
+ (buffer) ACE_Static_Object_Lock_Type (),
+ 0);
# else /* ! ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK */
ACE_NEW_RETURN (ACE_Static_Object_Lock_lock,
ACE_Cleanup_Adapter<ACE_Recursive_Thread_Mutex>,