Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc

This commit is contained in:
waterson@netscape.com
2001-04-04 05:00:08 +00:00
parent 93bcd8170b
commit 77ffd47f2d
67 changed files with 2342 additions and 1539 deletions
+1 -1
View File
@@ -534,7 +534,7 @@ NS_IMETHODIMP CViewSourceHTML::BuildModel(nsIParser* aParser,nsITokenizer* aToke
if(theToken) {
result=HandleToken(theToken,aParser);
if(NS_SUCCEEDED(result)) {
IF_FREE(theToken);
IF_FREE(theToken, mTokenizer->GetTokenAllocator());
}
else if(NS_ERROR_HTMLPARSER_BLOCK!=result){
mTokenizer->PushTokenFront(theToken);