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 /svtools | |
parent | 02f6dbeae398c0735521c710a91c8e492941bc02 (diff) | |
parent | d7b60d598deafab31002da002365debb853d6ec7 (diff) |
CWS-TOOLING: integrate CWS cmcfixes66
Notes
Notes:
split repo tag: libs-gui_ooo/DEV300_m65
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svdde/ddeml1.cxx | 2 | ||||
-rw-r--r-- | svtools/source/svdde/ddesvr.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svdde/ddeml1.cxx b/svtools/source/svdde/ddeml1.cxx index 6cc09b612ecf..4b8011627c7d 100644 --- a/svtools/source/svdde/ddeml1.cxx +++ b/svtools/source/svdde/ddeml1.cxx @@ -1089,7 +1089,7 @@ ImpService* ImpDdeMgr::PutService( HSZ hszService ) String aStr( (ULONG)hWndServer ); aStr += pBuf; HSZ hszInstServ = DdeCreateStringHandle( (PSZ)(const char*)pBuf, 850 ); - delete pBuf; + delete [] pBuf; pPtr->hBaseServName = hszService; pPtr->hInstServName = hszInstServ; diff --git a/svtools/source/svdde/ddesvr.cxx b/svtools/source/svdde/ddesvr.cxx index a2124548b4c8..8c72c1713e90 100644 --- a/svtools/source/svdde/ddesvr.cxx +++ b/svtools/source/svdde/ddesvr.cxx @@ -190,7 +190,7 @@ HDDEDATA CALLBACK _export DdeInternal::SvrCallback( pInst->hDdeInstSvr, (LPBYTE) pPairs, sizeof(HSZPAIR) * (nTopics+1), 0, NULL, nCbType, 0); - delete pPairs; + delete [] pPairs; return h; } |