plug possible leak
This commit is contained in:
1 parent
5048f3e52f
commit
91937bb416
1 file changed
+1
@@ -37,6 +37,7 @@ OutputStreamWrapper::~OutputStreamWrapper ()
|
||||
void
|
||||
OutputStreamWrapper::SetStream (std::ostream *ostream)
|
||||
{
|
||||
delete m_ostream;
|
||||
m_ostream = ostream;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user