Crash fix: Kill an extra NS_RELEASE in GetSelectedIndex

This commit is contained in:
pollmann@netscape.com
1999-04-27 22:17:57 +00:00
parent c0aebe1586
commit 472cef88a2
2 changed files with 0 additions and 2 deletions
@@ -328,7 +328,6 @@ nsHTMLSelectElement::GetSelectedIndex(PRInt32* aValue)
if (NS_OK == nsGenericHTMLElement::GetPrimaryFrame(this, formControlFrame)) {
nsString value;
formControlFrame->GetProperty(nsHTMLAtoms::selectedindex, value);
NS_RELEASE(formControlFrame);
if (value.Length() > 0) {
PRInt32 retval = 0;
PRInt32 error = 0;