summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-15 22:08:41 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-15 22:08:41 -0600
commit871af4828a0fc64637b8e08ca2d1df6233849d55 (patch)
tree7886a4b074f3a23a9ef14823b51e3582938da155 /src/gui/login.cpp
parent6b59adabfcf909cb02075e2fab2d715b4e34af95 (diff)
downloadmana-871af4828a0fc64637b8e08ca2d1df6233849d55.tar.gz
mana-871af4828a0fc64637b8e08ca2d1df6233849d55.tar.bz2
mana-871af4828a0fc64637b8e08ca2d1df6233849d55.tar.xz
mana-871af4828a0fc64637b8e08ca2d1df6233849d55.zip
Clean up some more memory leaks
And remove an unneeded variable
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 92c6050c..c1ffb658 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -129,6 +129,11 @@ LoginDialog::LoginDialog(LoginData *loginData):
mOkButton->setEnabled(canSubmit());
}
+LoginDialog::~LoginDialog()
+{
+ delete mServerList;
+}
+
void LoginDialog::action(const gcn::ActionEvent &event)
{
if (event.getId() == "ok" && canSubmit())