summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-09 00:34:01 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-09 00:34:01 +0300
commit38ec970d77a4a433f4c691c0fdb4d1bd14a9f917 (patch)
tree43d9e83b293d1fe9e9f58a975862c65c39f586ef /src/gui
parenteacf63c7a4c660b38329325c3958bbc63d10ee5c (diff)
downloadmanaverse-38ec970d77a4a433f4c691c0fdb4d1bd14a9f917.tar.gz
manaverse-38ec970d77a4a433f4c691c0fdb4d1bd14a9f917.tar.bz2
manaverse-38ec970d77a4a433f4c691c0fdb4d1bd14a9f917.tar.xz
manaverse-38ec970d77a4a433f4c691c0fdb4d1bd14a9f917.zip
Fix leak in last commit.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/logindialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp
index a139e6b37..e089c53fa 100644
--- a/src/gui/logindialog.cpp
+++ b/src/gui/logindialog.cpp
@@ -224,6 +224,8 @@ LoginDialog::~LoginDialog()
{
delete mUpdateTypeModel;
mUpdateTypeModel = nullptr;
+ delete mUpdateListModel;
+ mUpdateListModel = nullptr;
}
void LoginDialog::action(const gcn::ActionEvent &event)