summaryrefslogtreecommitdiff
path: root/vcl/source/window/tabdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/tabdlg.cxx')
-rw-r--r--vcl/source/window/tabdlg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/tabdlg.cxx b/vcl/source/window/tabdlg.cxx
index 9612ada17206..02220ba58860 100644
--- a/vcl/source/window/tabdlg.cxx
+++ b/vcl/source/window/tabdlg.cxx
@@ -226,7 +226,8 @@ TabDialog::~TabDialog()
void TabDialog::dispose()
{
- delete mpFixedLine;
+ mpFixedLine.clear();
+ mpViewWindow.clear();
Dialog::dispose();
}