From 170aae70566003a30ab1f6f936364484f6a0a097 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Jun 2011 16:20:49 +0300 Subject: Clean variables after deleting. --- src/guichan/widgets/dropdown.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/guichan/widgets/dropdown.cpp') diff --git a/src/guichan/widgets/dropdown.cpp b/src/guichan/widgets/dropdown.cpp index c666b47e4..da7ff754c 100644 --- a/src/guichan/widgets/dropdown.cpp +++ b/src/guichan/widgets/dropdown.cpp @@ -106,10 +106,16 @@ namespace gcn } if (mInternalScrollArea) + { delete mScrollArea; + mScrollArea = 0; + } if (mInternalListBox) + { delete mListBox; + mListBox = 0; + } setInternalFocusHandler(NULL); } -- cgit v1.2.3-70-g09d2