summaryrefslogtreecommitdiff
path: root/ACE/ace/Stream.cpp
diff options
context:
space:
mode:
authorcbeaulac <cbeaulac@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-04-17 14:14:32 +0000
committercbeaulac <cbeaulac@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-04-17 14:14:32 +0000
commite6201c1ff06b6eb85f2a1576163fc8b4b20e1e1b (patch)
tree2d3b1224744d4b16afbb5e5699e437378944f152 /ACE/ace/Stream.cpp
parent5a2d9ed37e1df43387f8b0d87183c9d30a98b18a (diff)
downloadATCD-e6201c1ff06b6eb85f2a1576163fc8b4b20e1e1b.tar.gz
Sun Apr 17 14:11:52 UTC 2011 Chad Beaulac <chad@objectivesolutions.com>
* ace/Stream.cpp Reverted previous commit. #3912 is not fixed. * tests/run_test.lst Added (not)FIX_BUGS_ONLY to Bug_3912_Regression_Test
Diffstat (limited to 'ACE/ace/Stream.cpp')
-rw-r--r--ACE/ace/Stream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/Stream.cpp b/ACE/ace/Stream.cpp
index 18dd147bc12..870cb6653d4 100644
--- a/ACE/ace/Stream.cpp
+++ b/ACE/ace/Stream.cpp
@@ -260,12 +260,12 @@ ACE_Stream<ACE_SYNCH_USE>::remove (const ACE_TCHAR *name,
else
prev->link (mod->next ());
- // Close down the module.
- mod->close (flags);
-
// Don't delete the Module unless the flags request this.
if (flags != ACE_Module<ACE_SYNCH_USE>::M_DELETE_NONE)
{
+ // Close down the module.
+ mod->close (flags);
+
// Release the memory.
delete mod;
}