From c46d59b7903027e1320d85cdbfd559e22713e7a3 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Sat, 1 Apr 2000 03:05:56 +0000 Subject: [PATCH] fix array leaks. r=bruce@cybersight.com,a=leaf --- layout/xul/base/src/nsSplitterFrame.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/layout/xul/base/src/nsSplitterFrame.cpp b/layout/xul/base/src/nsSplitterFrame.cpp index 0fdddcf835a..572378f6020 100644 --- a/layout/xul/base/src/nsSplitterFrame.cpp +++ b/layout/xul/base/src/nsSplitterFrame.cpp @@ -81,7 +81,12 @@ public: mOuter = aSplitter; mPressed = PR_FALSE; } - virtual ~nsSplitterFrameInner() {} + + virtual ~nsSplitterFrameInner() + { + delete[] mChildInfosBefore; + delete[] mChildInfosAfter; + } // mouse listener virtual nsresult MouseDown(nsIDOMEvent* aMouseEvent);