summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-18 02:51:48 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-18 02:51:48 +0300
commitaf90f5ef81c95cdec378377c3100a4417e0a1708 (patch)
treea700421e464e790216580e550decf42956ad5de6 /src/client.cpp
parentf6eb325bae9ae993c59bd0b282aef8707c7409f7 (diff)
downloadmv-af90f5ef81c95cdec378377c3100a4417e0a1708.tar.gz
mv-af90f5ef81c95cdec378377c3100a4417e0a1708.tar.bz2
mv-af90f5ef81c95cdec378377c3100a4417e0a1708.tar.xz
mv-af90f5ef81c95cdec378377c3100a4417e0a1708.zip
Fix some missing initialisations and memory leakss.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 7f6e37aa1..5a06267f2 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -659,6 +659,9 @@ Client::~Client()
ActorSprite::unload();
+ delete SpriteReference::Empty;
+ SpriteReference::Empty = 0;
+
ResourceManager::deleteInstance();
logger->log1("Quitting8");