Fix for 29048, 28085 - MLKs..
r=nisheeth git-svn-id: svn://10.0.0.236/trunk@64806 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user