diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-07 17:04:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-07 17:04:58 +0300 |
commit | a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe (patch) | |
tree | e1012c433c3beb0391744a1920183ccf377e2385 | |
parent | 6992f566c07edfae7aaa940011b37c615b2a1074 (diff) | |
download | plus-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.tar.gz plus-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.tar.bz2 plus-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.tar.xz plus-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.zip |
Fix memory leak with npc dialogs.
-rw-r--r-- | src/client.cpp | 1 |
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; |