From 6e027a4662f04e311670ec5f36344d931b75a589 Mon Sep 17 00:00:00 2001 From: Michael Stahl <mst@openoffice.org> Date: Tue, 3 Aug 2010 18:06:21 +0200 Subject: sw33bf08: #i113623#: stgio.cxx: fix operator delete mismatch --- sot/source/sdstor/stgio.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sot') 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 ]; } -- cgit