mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
fix potential leak from checkin for bug 48351. r=harishd, a=syd
This commit is contained in:
parent
f5aeab65b2
commit
dbbec45fb5
@ -898,6 +898,7 @@ nsresult CNavDTD::DidHandleStartTag(nsCParserNode& aNode,eHTMLTags aChildTag){
|
||||
CToken *theEndToken=mTokenAllocator->CreateTokenOfType(eToken_end,aChildTag);
|
||||
if(theEndToken) {
|
||||
result=HandleEndToken(theEndToken);
|
||||
IF_FREE(theEndToken);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -898,6 +898,7 @@ nsresult CNavDTD::DidHandleStartTag(nsCParserNode& aNode,eHTMLTags aChildTag){
|
||||
CToken *theEndToken=mTokenAllocator->CreateTokenOfType(eToken_end,aChildTag);
|
||||
if(theEndToken) {
|
||||
result=HandleEndToken(theEndToken);
|
||||
IF_FREE(theEndToken);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user