summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-20 15:00:03 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 13:01:48 +0100
commitd1091fd50adb1c01d1b1393fd662278611f9e7e1 (patch)
treedb279bb0b9641b8e912c55d72ce4a9a7ccb2f4b5 /vcl/source/control
parent58a43332b3a86db3756e6ad18e31189969c85364 (diff)
re-insert erroneously converted delete calls.
Change-Id: Iebdf2af3866d884289f6913646106fe3f2d4dde5
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/tabctrl.cxx2
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();