diff --git a/mozilla/layout/html/forms/src/nsFormFrame.cpp b/mozilla/layout/html/forms/src/nsFormFrame.cpp index 2616dc2574a..2663beee58f 100644 --- a/mozilla/layout/html/forms/src/nsFormFrame.cpp +++ b/mozilla/layout/html/forms/src/nsFormFrame.cpp @@ -543,9 +543,10 @@ nsFormFrame::OnSubmit(nsIPresContext* aPresContext, nsIFrame* aFrame) result = inst->QueryInterface(nsIFormSubmitObserver::GetIID(),(void**)&formSubmitObserver); if (NS_SUCCEEDED(result) && formSubmitObserver) { formSubmitObserver->Notify(mContent); - } + } } } + NS_RELEASE(theEnum); } nsIFileSpec* multipartDataFile = nsnull;