summaryrefslogtreecommitdiff
path: root/vcl/source/control/lstbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/lstbox.cxx')
-rw-r--r--vcl/source/control/lstbox.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index 23da0e84b70d..31fcb3aecac5 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -84,8 +84,12 @@ void ListBox::dispose()
delete pImplLB;
delete mpFloatWin;
+ mpFloatWin = NULL;
delete mpImplWin;
+ mpImplWin = NULL;
delete mpBtn;
+ mpBtn = NULL;
+
Control::dispose();
}