tdf#91239 - add missing disposeAndClear logic for basctl.

Change-Id: If5c8fbf453e47921b472a987e9e6cff283464dcf
This commit is contained in:
Julien Nabet 2015-05-15 18:05:08 +01:00 committed by Michael Meeks
parent 5b1337f7b2
commit 72e6c70738

View File

@ -225,6 +225,12 @@ Shell::~Shell()
SetWindow( 0 );
SetCurWindow( 0 );
pTabBar.disposeAndClear();
aObjectCatalog.disposeAndClear();
aScrollBarBox.disposeAndClear();
aVScrollBar.disposeAndClear();
aHScrollBar.disposeAndClear();
for (WindowTable::iterator it = aWindowTable.begin(); it != aWindowTable.end(); ++it)
{
// no store; does already happen when the BasicManagers are destroyed