summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-11-13 19:16:08 +0100
committerKurt Zenker <kz@openoffice.org>2009-11-13 19:16:08 +0100
commitde0356c665eb3fc168c4e8a168e3828d50992220 (patch)
treebf5e3c1b863412e41eca16570000b06c7b010cb2 /tools
parent02f6dbeae398c0735521c710a91c8e492941bc02 (diff)
parentd7b60d598deafab31002da002365debb853d6ec7 (diff)
CWS-TOOLING: integrate CWS cmcfixes66
Notes
split repo tag: libs-gui_ooo/DEV300_m65
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/wntmsc.cxx2
-rw-r--r--tools/source/stream/strmunx.cxx2
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;
}
}
}