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/net/charhandler.h | |
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/net/charhandler.h')
-rw-r--r-- | src/net/charhandler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/charhandler.h b/src/net/charhandler.h index 72a81684c..848354e96 100644 --- a/src/net/charhandler.h +++ b/src/net/charhandler.h @@ -90,6 +90,8 @@ class CharHandler virtual unsigned int maxSprite() const = 0; + virtual void clear() = 0; + protected: CharHandler() : mSelectedCharacter(0), |