Kaydet (Commit) 34e927d8 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS vcl09 (1.3.10); FILE MERGED

2003/05/08 18:46:19 pl 1.3.10.1: #109426# make rpnp.so work on Linux
üst 8e800bc1
......@@ -2,9 +2,9 @@
*
* $RCSfile: mediator.hxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: vg $ $Date: 2003-04-15 16:17:41 $
* last change: $Author: vg $ $Date: 2003-05-28 12:37:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -108,13 +108,13 @@ struct MediatorMessage
~MediatorMessage()
{
if( m_pBytes )
delete m_pBytes;
delete [] m_pBytes;
}
void Set( ULONG nBytes, char* pBytes )
{
if( m_pBytes )
delete m_pBytes;
delete [] m_pBytes;
m_nBytes = nBytes;
m_pBytes = new char[ m_nBytes ];
memcpy( m_pBytes, pBytes, (size_t)m_nBytes );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment