diff options
Diffstat (limited to 'vcl/source/control/tabctrl.cxx')
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index 961dd919f760..90184ecd7ec4 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -204,6 +204,8 @@ void TabControl::dispose() ImplFreeLayoutData(); // delete TabCtrl data + if (mpTabCtrlData) + mpTabCtrlData->mpListBox.disposeAndClear(); delete mpTabCtrlData; mpTabCtrlData = NULL; Control::dispose(); |