summaryrefslogtreecommitdiff
path: root/svtools/source/svdde/ddeml1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/svdde/ddeml1.cxx')
-rw-r--r--svtools/source/svdde/ddeml1.cxx2
1 files changed, 1 insertions, 1 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;