Localize the buffer for less error possibility of heap corruption, messed with messagelog buffers

too... commented changes.
This commit is contained in:
phr0z3nt04st
2010-05-26 22:46:47 -05:00
parent af880575e4
commit 8c6ca51927
3 changed files with 13 additions and 10 deletions

View File

@@ -20,7 +20,11 @@ LLMessageLogEntry::LLMessageLogEntry(EType type, LLHost from_host, LLHost to_hos
LLMessageLogEntry::~LLMessageLogEntry()
{
// wtf, I'm not supposed to do this?
//if(mData && mDataSize) delete[] mData;
/*if(mData && mDataSize)
{
delete[] mData;
mData = NULL;
}*/
}
U32 LLMessageLog::sMaxSize = 4096; // testzone fixme todo boom
std::deque<LLMessageLogEntry> LLMessageLog::sDeque;