nsFontWeight* weights=aStyle->mWeights;
nsFontWeight** weights=aStyle->mWeights;
FreeStyle(nsFontStyle* aStyle){  nsFontWeight* weights=aStyle->mWeights;  for (int i=0; i < 9; i++)  {    if (weights[i])    {      for (int j = i+1; j < 9; j++)      {        if (weights[j] == weights[i])          weights[j] = nsnull;      }      FreeWeights(weights[i]);    }  }  delete aStyle;}