mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
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:
parent
e695347dab
commit
a21be0269b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user