summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-07 17:04:58 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-07 17:04:58 +0300
commita0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe (patch)
treee1012c433c3beb0391744a1920183ccf377e2385 /src
parent6992f566c07edfae7aaa940011b37c615b2a1074 (diff)
downloadmanaverse-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.tar.gz
manaverse-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.tar.bz2
manaverse-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.tar.xz
manaverse-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.zip
Fix memory leak with npc dialogs.
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index fbebfb2c3..b87398a0e 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -804,6 +804,7 @@ int Client::exec()
if (resman)
resman->cleanOrphans();
Party::clearParties();
+ Net::getNpcHandler()->clearDialogs();
}
mOldState = mState;