diff --git a/mozilla/layout/base/src/nsPresShell.cpp b/mozilla/layout/base/src/nsPresShell.cpp index dd3cf81164b..1d18b3a6951 100644 --- a/mozilla/layout/base/src/nsPresShell.cpp +++ b/mozilla/layout/base/src/nsPresShell.cpp @@ -484,6 +484,7 @@ PresShell::InitialReflow(nscoord aWidth, nscoord aHeight) // Have style sheet processor construct a frame for the // root content object mPresContext->ConstructFrame(root, nsnull, mRootFrame); + NS_RELEASE(root); } } }