From a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 Jun 2011 17:04:58 +0300 Subject: Fix memory leak with npc dialogs. --- src/client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client.cpp') 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; -- cgit v1.2.3-70-g09d2