summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/tab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-01 16:20:49 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-01 16:20:49 +0300
commit170aae70566003a30ab1f6f936364484f6a0a097 (patch)
tree44002a7f43d1fdd8ba8253e729da825bd82142c3 /src/guichan/widgets/tab.cpp
parent09ebcebf32be3842d6158c3145492fbf2959440e (diff)
downloadmanaplus-170aae70566003a30ab1f6f936364484f6a0a097.tar.gz
manaplus-170aae70566003a30ab1f6f936364484f6a0a097.tar.bz2
manaplus-170aae70566003a30ab1f6f936364484f6a0a097.tar.xz
manaplus-170aae70566003a30ab1f6f936364484f6a0a097.zip
Clean variables after deleting.
Diffstat (limited to 'src/guichan/widgets/tab.cpp')
-rw-r--r--src/guichan/widgets/tab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guichan/widgets/tab.cpp b/src/guichan/widgets/tab.cpp
index 760e77a18..b0d0c7982 100644
--- a/src/guichan/widgets/tab.cpp
+++ b/src/guichan/widgets/tab.cpp
@@ -69,6 +69,7 @@ namespace gcn
Tab::~Tab()
{
delete mLabel;
+ mLabel = 0;
}
void Tab::adjustSize()