if (mDomSelections[i]) NS_IF_RELEASE(mDomSelections[i]);
NS_IF_RELEASE(mDomSelections[i]);
nsSelection::~nsSelection() {  PRInt32 i;  for (i = 0;i<nsISelectionController::NUM_SELECTIONTYPES;i++){    if (mDomSelections[i])        NS_IF_RELEASE(mDomSelections[i]);  }}