mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 06:29:50 -04: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