From 1d1f4240abf8b65fce2456f42d0d259cb50d83a3 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Wed, 23 Sep 1998 20:59:57 +0000 Subject: [PATCH] Fixed leak of entire content model... --- layout/base/src/nsPresShell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/layout/base/src/nsPresShell.cpp b/layout/base/src/nsPresShell.cpp index dd3cf81164bc..1d18b3a69511 100644 --- a/layout/base/src/nsPresShell.cpp +++ b/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); } } }