From 00a7522d35c851b71fa1ba7f0f5fece01e0ba163 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Fri, 14 Aug 1998 03:32:39 +0000 Subject: [PATCH] Added NS_IF_RELEASE(mAttributes) to destructor --- layout/html/forms/src/nsForm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/layout/html/forms/src/nsForm.cpp b/layout/html/forms/src/nsForm.cpp index 984e484e310..87e1ba000cf 100644 --- a/layout/html/forms/src/nsForm.cpp +++ b/layout/html/forms/src/nsForm.cpp @@ -267,6 +267,7 @@ nsForm::~nsForm() mElements->ReleaseForm(); NS_RELEASE(mElements); } + NS_IF_RELEASE(mAttributes); } nsresult nsForm::QueryInterface(REFNSIID aIID, void** aInstancePtr)