From e6761ea2aa7897eda7dafa0b11f17c26eb60e334 Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Sat, 31 Aug 2013 18:56:58 +0100 Subject: Core/NetworkIO: Fix memory leak Packet headers not being correctly deallocated. --- src/server/game/Server/WorldSocket.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/server/game/Server/WorldSocket.cpp b/src/server/game/Server/WorldSocket.cpp index 625ebff8471..27bb17962ce 100644 --- a/src/server/game/Server/WorldSocket.cpp +++ b/src/server/game/Server/WorldSocket.cpp @@ -512,6 +512,7 @@ int WorldSocket::handle_input_payload (void) m_RecvPct.base (NULL, 0); m_RecvPct.reset(); + delete m_RecvWPct; m_RecvWPct = NULL; m_Header.reset(); -- cgit v1.2.3