summaryrefslogtreecommitdiff
path: root/ace/Stream.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-22 17:00:38 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-22 17:00:38 +0000
commit152da9cd550e9fc21f1d1264bd6b60b081ec17fc (patch)
tree9467e67a75751c1e76e02c1d463bcc38671b7680 /ace/Stream.cpp
parentf0bf9c81fe9258869b15d7ba06453252ac64665d (diff)
downloadATCD-152da9cd550e9fc21f1d1264bd6b60b081ec17fc.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Stream.cpp')
-rw-r--r--ace/Stream.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/ace/Stream.cpp b/ace/Stream.cpp
index 92b8e423bca..cb58abe60d7 100644
--- a/ace/Stream.cpp
+++ b/ace/Stream.cpp
@@ -263,7 +263,9 @@ ACE_Stream<ACE_SYNCH_2>::open (void *a,
{
h1 = new ACE_Stream_Head<ACE_SYNCH_2>;
h2 = new ACE_Stream_Head<ACE_SYNCH_2>;
- head = new ACE_Module<ACE_SYNCH_2> ("ACE_Stream_Head", h1, h2, a);
+ head = new ACE_Module<ACE_SYNCH_2> ("ACE_Stream_Head",
+ h1, h2,
+ a | M_DELETE);
}
if (tail == 0)
@@ -271,7 +273,8 @@ ACE_Stream<ACE_SYNCH_2>::open (void *a,
t1 = new ACE_Stream_Tail<ACE_SYNCH_2>;
t2 = new ACE_Stream_Tail<ACE_SYNCH_2>;
tail = new ACE_Module<ACE_SYNCH_2> ("ACE_Stream_Tail",
- t1, t2, a);
+ t1, t2,
+ a | M_DELETE);
}
// Make sure *all* the allocation succeeded!