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:
parent
3ba2f75f2f
commit
3ff1be94d8
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user