summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table3.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-05 05:31:13 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-05 05:31:13 +0200
commit08ee936f3d1cd0d0424dd50bc96da19faf424a86 (patch)
treee2fc46b2b14e65181b219ac19fefe4f06901f622 /sc/source/core/data/table3.cxx
parent9646685f3ead54fc67bc457a4804defce8a88e05 (diff)
small memory leak in table3.cxx
Diffstat (limited to 'sc/source/core/data/table3.cxx')
-rw-r--r--sc/source/core/data/table3.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 97b948b7bc9f..7e766a37293a 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -217,7 +217,7 @@ IMPL_FIXEDMEMPOOL_NEWDEL( ScSortInfo )
class ScSortInfoArray
{
private:
- ScSortInfo*** pppInfo;
+ ScSortInfo*** pppInfo;
SCSIZE nCount;
SCCOLROW nStart;
sal_uInt16 nUsedSorts;
@@ -245,6 +245,7 @@ public:
delete ppInfo[j];
delete [] ppInfo;
}
+ delete[] pppInfo;
}
ScSortInfo* Get( sal_uInt16 nSort, SCCOLROW nInd )
{ return (pppInfo[nSort])[ nInd - nStart ]; }