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 /src | |
parent | 6992f566c07edfae7aaa940011b37c615b2a1074 (diff) | |
download | manaplus-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.tar.gz manaplus-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.tar.bz2 manaplus-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.tar.xz manaplus-a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe.zip |
Fix memory leak with npc dialogs.
Diffstat (limited to 'src')
-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; |