1. mst
  2. ooo340

Commits

Michael Stahl  committed a75a68c

sw34bf06: doccomp.cxx: fix some resource management problems

  • Participants
  • Parent commits 3b8bef8
  • Branches default

Comments (0)

Files changed (1)

File sw/source/core/doc/doccomp.cxx

View file
 
 Compare::MovedData::~MovedData()
 {
-	delete pIndex;
-	delete pLineNum;
+    delete [] pIndex;
+    delete [] pLineNum;
 }
 
 // ----------------------------------------------------------------------
 
 Compare::CompareSequence::~CompareSequence()
 {
-	delete pMemory;
+    delete [] pMemory;
 }
 
 void Compare::CompareSequence::Compare( sal_uLong nStt1, sal_uLong nEnd1,