From 9c1ca7e3d26f5d4f13900ef203e8c58850b7c23c Mon Sep 17 00:00:00 2001 From: "rpotts%netscape.com" Date: Wed, 29 Jul 1998 10:47:52 +0000 Subject: [PATCH] Added a missing Release() which should allow the nsDocument to be destroyed... git-svn-id: svn://10.0.0.236/trunk@6732 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/base/src/nsHTMLContainer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/layout/html/base/src/nsHTMLContainer.cpp b/mozilla/layout/html/base/src/nsHTMLContainer.cpp index f72d8937fac..a5f5421941a 100644 --- a/mozilla/layout/html/base/src/nsHTMLContainer.cpp +++ b/mozilla/layout/html/base/src/nsHTMLContainer.cpp @@ -811,6 +811,7 @@ void nsHTMLContainer::MapAttributesInto(nsIStyleContext* aContext, styleSheet->SetVisitedLinkColor(value.GetColorValue()); } } + NS_RELEASE(htmlDoc); } // set up the basefont (defaults to 3)