Fix leak of style contexts. r=pollmann@netscape.com

This commit is contained in:
dbaron%fas.harvard.edu 2000-03-22 02:54:26 +00:00
parent 2c57696f33
commit e10bf39827
2 changed files with 2 additions and 0 deletions

View File

@ -7257,6 +7257,7 @@ nsCSSFrameConstructor::ContentRemoved(nsIPresContext* aPresContext,
// Add the generated frame to the child list
frameManager->AppendFrames(aPresContext, *shell, parentFrame, nsnull, generatedFrame);
}
NS_IF_RELEASE(styleContext);
}
}
}

View File

@ -7257,6 +7257,7 @@ nsCSSFrameConstructor::ContentRemoved(nsIPresContext* aPresContext,
// Add the generated frame to the child list
frameManager->AppendFrames(aPresContext, *shell, parentFrame, nsnull, generatedFrame);
}
NS_IF_RELEASE(styleContext);
}
}
}