NS_RELEASE(control);
nsFormElementList::Item(PRUint32 aIndex, nsIDOMNode** aReturn){  nsIFormControl *control = nsnull;  nsresult res = NS_OK;  if (nsnull != mForm) {    control = mForm->GetFormControlAt(aIndex);    if (nsnull != control) {      res = control->QueryInterface(kIDOMNodeIID, (void**)aReturn);      NS_RELEASE(control);    }    else {      *aReturn = nsnull;    }  }  else {    *aReturn = nsnull;  }  return res;}