diff options
author | Kurt Zenker <kz@openoffice.org> | 2009-11-13 19:16:08 +0100 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2009-11-13 19:16:08 +0100 |
commit | de0356c665eb3fc168c4e8a168e3828d50992220 (patch) | |
tree | bf5e3c1b863412e41eca16570000b06c7b010cb2 /tools | |
parent | CWS-TOOLING: integrate CWS cmcfixes65 (diff) | |
parent | cmcfixes66: merge with DEV300 m64 (diff) | |
download | core-de0356c665eb3fc168c4e8a168e3828d50992220.tar.gz core-de0356c665eb3fc168c4e8a168e3828d50992220.zip |
CWS-TOOLING: integrate CWS cmcfixes66
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/fsys/wntmsc.cxx | 2 | ||||
-rw-r--r-- | tools/source/stream/strmunx.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/fsys/wntmsc.cxx b/tools/source/fsys/wntmsc.cxx index 0e8e5ebc7918..153fbf37de2e 100644 --- a/tools/source/fsys/wntmsc.cxx +++ b/tools/source/fsys/wntmsc.cxx @@ -91,7 +91,7 @@ struct dirent *readdir( DIR *pDir ) pDir->h = FindFirstFile( pBuf, &pDir->aDirEnt ); bOk = pDir->h != INVALID_HANDLE_VALUE; pDir->p = NULL; - delete pBuf; + delete [] pBuf; } else pDir->h = INVALID_HANDLE_VALUE; diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index 538c02e78fde..d27fe1f7f2c0 100644 --- a/tools/source/stream/strmunx.cxx +++ b/tools/source/stream/strmunx.cxx @@ -745,7 +745,7 @@ void SvFileStream::Open( const String& rFilename, StreamMode nOpenMode ) aFileCopier.Execute(); } } - delete pBuf; + delete [] pBuf; } } } |