From bb626b60360d4a8c97c94e79f9f39bcd38802aa0 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Wed, 13 Jan 1999 00:38:29 +0000 Subject: [PATCH] Re-committing my fucking changes... git-svn-id: svn://10.0.0.236/trunk@17632 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsPresShell.cpp | 1 + mozilla/layout/html/base/src/nsPresShell.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index 26689616211..dc9169cb67d 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -1170,6 +1170,7 @@ FindFrameWithContent(nsIFrame* aFrame, nsIContent* aContent) NS_IF_RELEASE(pseudoTag); if (!isPlaceholder) { + NS_IF_RELEASE(frameContent); return aFrame; } } diff --git a/mozilla/layout/html/base/src/nsPresShell.cpp b/mozilla/layout/html/base/src/nsPresShell.cpp index 26689616211..dc9169cb67d 100644 --- a/mozilla/layout/html/base/src/nsPresShell.cpp +++ b/mozilla/layout/html/base/src/nsPresShell.cpp @@ -1170,6 +1170,7 @@ FindFrameWithContent(nsIFrame* aFrame, nsIContent* aContent) NS_IF_RELEASE(pseudoTag); if (!isPlaceholder) { + NS_IF_RELEASE(frameContent); return aFrame; } }