PRInt32 count; while ((count = aStretch->mScaledFonts.Count())) {  count--; nsFontGTK *font = (nsFontGTK*)aStretch->mScaledFonts.ElementAt(count); aStretch->mScaledFonts.RemoveElementAt(count); if (font) delete font; }
FreeStretch(nsFontStretch* aStretch){  PR_smprintf_free(aStretch->mScalable);  // XXX nsVoidArray mScaledFonts;  for (int i = 0; i < aStretch->mSizesCount; i++) {    delete aStretch->mSizes[i];  }  delete [] aStretch->mSizes;  delete aStretch;}