diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-28 11:38:21 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-28 11:38:21 +0000 |
commit | 5a8fcac8d6e53ab821a4ff19d569895116ad4fd7 (patch) | |
tree | b2844c39f127a943b2d9106d68a408ea1e18fec9 | |
parent | 7eed65725313bc740abb2cbd071d3135bf5f174b (diff) |
INTEGRATION: CWS vcl09 (1.3.88); FILE MERGED
2003/05/08 18:46:09 pl 1.3.88.1: #109426# make rpnp.so work on Linux
-rw-r--r-- | extensions/source/plugin/unx/mediator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/plugin/unx/mediator.cxx b/extensions/source/plugin/unx/mediator.cxx index ad38e81f5199..994c390f09a6 100644 --- a/extensions/source/plugin/unx/mediator.cxx +++ b/extensions/source/plugin/unx/mediator.cxx @@ -2,9 +2,9 @@ * * $RCSfile: mediator.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: pl $ $Date: 2002-06-27 19:44:13 $ + * last change: $Author: vg $ $Date: 2003-05-28 12:38:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -118,7 +118,7 @@ ULONG Mediator::SendMessage( ULONG nBytes, const char* pBytes, ULONG nMessageID pBuffer[ 1 ] = nBytes; memcpy( &pBuffer[2], pBytes, (size_t)nBytes ); write( m_nSocket, pBuffer, nBytes + 2*sizeof( ULONG ) ); - delete pBuffer; + delete [] pBuffer; return nMessageID; } @@ -225,7 +225,7 @@ void MediatorListener::run() else medDebug( 1, "got incomplete MediatorMessage: { %d, %d, %*s }\n", nHeader[0], nHeader[1], nHeader[1], pBuffer ); - delete pBuffer; + delete [] pBuffer; } else { |