summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/charselectdialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h
index 507b0d9f..6144847a 100644
--- a/src/gui/charselectdialog.h
+++ b/src/gui/charselectdialog.h
@@ -58,6 +58,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener,
CharSelectDialog(LockedArray<LocalPlayer*> *charInfo,
LoginData *loginData);
+ ~CharSelectDialog() { mCharInfo->clear(); };
+
void action(const gcn::ActionEvent &event);
void keyPressed(gcn::KeyEvent &keyEvent);