diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-22 10:01:55 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-22 10:01:55 +0000 |
commit | 0188ab949ab25a6ba692ac70250f0e1634b1af84 (patch) | |
tree | 256c64bc9ba91068f789375f424f0ab775143f7e /basic/source | |
parent | d687258ccebbcfacac31bb3f97035e21039b6e35 (diff) |
INTEGRATION: CWS setup09 (1.13.16); FILE MERGED
2003/05/21 10:32:38 dv 1.13.16.1: #109685# fixed new/delete mismatch
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/runtime/methods1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 388265197356..2e76aa03a55c 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -2,9 +2,9 @@ * * $RCSfile: methods1.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: rt $ $Date: 2003-04-23 16:58:20 $ + * last change: $Author: vg $ $Date: 2003-05-22 11:01:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -969,7 +969,7 @@ void PutGet( SbxArray& rPar, BOOL bPut ) short nDims = pArr->GetDims(); short* pDims = new short[ nDims ]; bRet = lcl_WriteReadSbxArray(*pArr,pStrm,!bRandom,nDims,pDims,bPut); - delete pDims; + delete [] pDims; if( nBlockLen ) pStrm->Seek( nFPos + nBlockLen ); } |