nsIDOMHTMLSelectElement* select = GetSelect(); if (select) { select->GetOptions(&options); NS_RELEASE(select);
nsIDOMHTMLSelectElement* thisSelect = GetSelect(); if (thisSelect) { thisSelect->GetOptions(&options); NS_RELEASE(thisSelect);
nsSelectControlFrame::GetOptions(nsIDOMHTMLSelectElement* aSelect){  nsIDOMHTMLCollection* options = nsnull;  if (!aSelect) {    nsIDOMHTMLSelectElement* select = GetSelect();    if (select) {      select->GetOptions(&options);      NS_RELEASE(select);      return options;    } else {      return nsnull;    }  } else {    aSelect->GetOptions(&options);    return options;  }}