added missing NS_RELEASE() after calling GetWidget().

git-svn-id: svn://10.0.0.236/trunk@970 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
michaelp 1998-05-01 03:09:53 +00:00
parent 3ba2f75f2f
commit 3ff1be94d8

View File

@ -173,6 +173,7 @@ nsInputTextFrame::PostCreateWidget(nsIPresContext* aPresContext, nsIView *aView)
nsAutoString valAttr;
nsContentAttr valStatus = ((nsInput *)content)->GetAttribute(nsHTMLAtoms::value, valAttr);
text->SetText(valAttr);
NS_RELEASE(text);
NS_RELEASE(content);
}
}