diff options
Diffstat (limited to '')
-rw-r--r-- | source/cClientHandle.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index 6bde57bbc..e27ed4ecb 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -231,6 +231,11 @@ cClientHandle::~cClientHandle() delete *m_pState->PendingNrmSendPackets.begin();
m_pState->PendingNrmSendPackets.erase( m_pState->PendingNrmSendPackets.begin() );
}
+ while( !m_pState->PendingLowSendPackets.empty() )
+ {
+ delete *m_pState->PendingLowSendPackets.begin();
+ m_pState->PendingLowSendPackets.erase( m_pState->PendingLowSendPackets.begin() );
+ }
if(m_Player)
{
m_Player->SetClientHandle( 0 );
|