Fixed leak of reflow command

This commit is contained in:
troy@netscape.com
1998-09-11 18:57:54 +00:00
parent c4cb64d6d8
commit 4933a714c4
3 changed files with 3 additions and 0 deletions

View File

@@ -1160,6 +1160,7 @@ NS_IMETHODIMP HTMLStyleSheetImpl::ContentAppended(nsIPresContext* aPresContext,
firstAppendedFrame);
if (NS_SUCCEEDED(result)) {
shell->AppendReflowCommand(reflowCmd);
NS_RELEASE(reflowCmd);
}
break;
}