Fixed memory leak in style change code

This commit is contained in:
vidur%netscape.com 1998-09-26 00:06:26 +00:00
Родитель 1b211ce395
Коммит 13bb166f7c
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

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

Просмотреть файл

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