diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-20 05:26:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-20 05:26:02 +0300 |
commit | ed0f26678c9aa154d3af441762b9a3ad5345747c (patch) | |
tree | 69183723af9c8f41fb7a13b62bff84960515e1a1 /src/gui/charselectdialog.cpp | |
parent | 5d4be5df7aaac5186c263caa9354891fec66d1c3 (diff) | |
download | plus-ed0f26678c9aa154d3af441762b9a3ad5345747c.tar.gz plus-ed0f26678c9aa154d3af441762b9a3ad5345747c.tar.bz2 plus-ed0f26678c9aa154d3af441762b9a3ad5345747c.tar.xz plus-ed0f26678c9aa154d3af441762b9a3ad5345747c.zip |
Fix memory leak in char selection dialog.
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r-- | src/gui/charselectdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp index 93302e0ff..15d1e6e0e 100644 --- a/src/gui/charselectdialog.cpp +++ b/src/gui/charselectdialog.cpp @@ -186,6 +186,7 @@ CharSelectDialog::CharSelectDialog(LoginData *data): CharSelectDialog::~CharSelectDialog() { + Net::getCharHandler()->clear(); } void CharSelectDialog::action(const gcn::ActionEvent &event) |