Undo my previous change, which was wrong. PR_TRUE is the correct way to continue enumeration for |nsHashtable|s. I don't know what is causing the leak (bug 43707). r=hyatt

This commit is contained in:
dbaron%fas.harvard.edu 2000-06-26 02:39:49 +00:00
Родитель ebb2d59df7
Коммит 3477150c86
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -180,7 +180,7 @@ static PRBool PR_CALLBACK DeleteClasses(nsHashKey* aKey, void* aValue, void* clo
JSClass* c = (JSClass*)aValue;
nsMemory::Free(c->name);
delete c;
return HT_ENUMERATE_NEXT;
return PR_TRUE; // return PR_TRUE to continue for nsHashtable enumerator
}
nsXBLService::~nsXBLService(void)

Просмотреть файл

@ -180,7 +180,7 @@ static PRBool PR_CALLBACK DeleteClasses(nsHashKey* aKey, void* aValue, void* clo
JSClass* c = (JSClass*)aValue;
nsMemory::Free(c->name);
delete c;
return HT_ENUMERATE_NEXT;
return PR_TRUE; // return PR_TRUE to continue for nsHashtable enumerator
}
nsXBLService::~nsXBLService(void)