fixes bug 329450 "EnumerateCategory enumerates deleted entries" patch by chpe@gnome.org, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@191923 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -198,7 +198,8 @@ PLDHashOperator PR_CALLBACK
|
||||
EntryEnumerator::enumfunc_createenumerator(CategoryLeaf* aLeaf, void* userArg)
|
||||
{
|
||||
EntryEnumerator* mythis = NS_STATIC_CAST(EntryEnumerator*, userArg);
|
||||
mythis->mArray[mythis->mCount++] = aLeaf->GetKey();
|
||||
if (aLeaf->nonpValue)
|
||||
mythis->mArray[mythis->mCount++] = aLeaf->GetKey();
|
||||
|
||||
return PL_DHASH_NEXT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user