diff options
author | Michael Stahl <mst@openoffice.org> | 2010-08-03 18:06:21 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-08-03 18:06:21 +0200 |
commit | 6e027a4662f04e311670ec5f36344d931b75a589 (patch) | |
tree | 6c51fc6b03675caa75a2ab2fc4b5615b6e202019 /sot | |
parent | 06d8dc602fb3fa13f768044dc0b8058eb7b393c2 (diff) |
sw33bf08: #i113623#: stgio.cxx: fix operator delete mismatch
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgio.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx index 00dd454233e2..2c18429b9d64 100644 --- a/sot/source/sdstor/stgio.cxx +++ b/sot/source/sdstor/stgio.cxx @@ -158,7 +158,7 @@ class EasyFat public: EasyFat( StgIo & rIo, StgStrm *pFatStream, INT32 nPSize ); - ~EasyFat() { delete pFat; delete pFree; } + ~EasyFat() { delete[] pFat; delete[] pFree; } INT32 GetPageSize() { return nPageSize; } INT32 Count() { return nPages; } INT32 operator[]( INT32 nOffset ) { return pFat[ nOffset ]; } |