Fixed a memory leak
git-svn-id: http://mc-server.googlecode.com/svn/trunk@19 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
88270be669
commit
3b291e19ce
@ -972,6 +972,7 @@ void cClientHandle::Send( const cPacket & a_Packet, ENUM_PRIORITY a_Priority /*
|
||||
Packets.erase( itr );
|
||||
bBreak = true;
|
||||
bSignalSemaphore = false; // Because 1 packet is removed, semaphore count is the same
|
||||
delete PacketData;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user