mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
Fix for 29048, 28085 - MLKs..
r=nisheeth
This commit is contained in:
parent
005bd8588b
commit
d355779849
@ -3197,6 +3197,8 @@ nsresult CNavDTD::CloseContainersTo(PRInt32 anIndex,eHTMLTags aTarget, PRBool aC
|
||||
if(theChildStyleStack) {
|
||||
if(theStyleDoesntLeakOut) {
|
||||
RecycleNodes(theChildStyleStack);
|
||||
delete theChildStyleStack; // XXX try to recycle this...
|
||||
theChildStyleStack=0;
|
||||
}
|
||||
else mBodyContext->PushStyles(theChildStyleStack);
|
||||
}
|
||||
|
@ -3197,6 +3197,8 @@ nsresult CNavDTD::CloseContainersTo(PRInt32 anIndex,eHTMLTags aTarget, PRBool aC
|
||||
if(theChildStyleStack) {
|
||||
if(theStyleDoesntLeakOut) {
|
||||
RecycleNodes(theChildStyleStack);
|
||||
delete theChildStyleStack; // XXX try to recycle this...
|
||||
theChildStyleStack=0;
|
||||
}
|
||||
else mBodyContext->PushStyles(theChildStyleStack);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user