diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-24 02:54:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-24 02:54:01 +0300 |
commit | a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd (patch) | |
tree | b666fed3ff9bdea61159190035d697ea562c4faa /src/playerinfo.cpp | |
parent | d2c42029b98c665725768b891aa877eb3267664f (diff) | |
download | plus-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.tar.gz plus-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.tar.bz2 plus-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.tar.xz plus-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.zip |
Fix leaks in client, skilldialog and playerinfo classes.
Diffstat (limited to 'src/playerinfo.cpp')
-rw-r--r-- | src/playerinfo.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/playerinfo.cpp b/src/playerinfo.cpp index fb78e0ae8..72b091244 100644 --- a/src/playerinfo.cpp +++ b/src/playerinfo.cpp @@ -330,4 +330,10 @@ void init() mListener = new PlayerInfoListener(); } +void deinit() +{ + delete mListener; + mListener = 0; +} + } // namespace PlayerInfo |