From da7746f8bff4b0e39b8bdf83362c0c4d0f0a42d2 Mon Sep 17 00:00:00 2001 From: Like Ma Date: Thu, 18 Jul 2024 22:29:04 +0800 Subject: [PATCH] Reset FILE* Log_Msg::ostream_ --- ACE/ace/Log_Msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACE/ace/Log_Msg.cpp b/ACE/ace/Log_Msg.cpp index 570711e99dc11..4560badaffe72 100644 --- a/ACE/ace/Log_Msg.cpp +++ b/ACE/ace/Log_Msg.cpp @@ -753,8 +753,8 @@ ACE_Log_Msg::cleanup_ostream () ACE_OS::fclose (this->ostream_); #else delete this->ostream_; - this->ostream_ = 0; #endif + this->ostream_ = 0; } this->ostream_refcount_ = 0; }