Fixed memory leak in style change code

This commit is contained in:
vidur@netscape.com
1998-09-26 00:06:26 +00:00
parent e36590ec20
commit d169f8dc7c
2 changed files with 4 additions and 0 deletions

View File

@@ -520,4 +520,6 @@ nsHTMLContainerFrame::StyleChangeReflow(nsIPresContext& aPresContext,
shell->AppendReflowCommand(reflowCmd);
NS_RELEASE(reflowCmd);
}
NS_RELEASE(shell);
}