mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Core/NetworkIO: Fix memory leak
Packet headers not being correctly deallocated.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user