Skip to content
Snippets Groups Projects
Commit d696977c authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files

fix a crash

parent 39f033a0
Branches
Tags
No related merge requests found
...@@ -1629,6 +1629,10 @@ void LLPrivateMemoryPool::addToHashTable(LLMemoryChunk* chunk) ...@@ -1629,6 +1629,10 @@ void LLPrivateMemoryPool::addToHashTable(LLMemoryChunk* chunk)
{ {
mChunkHashList[start_key] = chunk ; mChunkHashList[start_key] = chunk ;
} }
if(start_key == end_key)
{
return ; //done
}
if(!need_rehash) if(!need_rehash)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment