Bug 401906, nsCertTreeDispInfo leaks, r=kengert, a=dsicore

This commit is contained in:
Olli.Pettay@helsinki.fi 2007-11-30 11:55:31 -08:00
Родитель 8d5458ee5c
Коммит 2086c0c721
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -392,7 +392,6 @@ MatchingCertOverridesCallback(const nsCertOverride &aSettings,
certdi->mHostWithPort = NS_ConvertUTF8toUTF16(aSettings.mHostWithPortUTF8);
certdi->mOverrideBits = aSettings.mOverrideBits;
certdi->mIsTemporary = aSettings.mIsTemporary;
NS_IF_ADDREF(certdi);
cap->array->InsertElementAt(cap->position, certdi);
cap->position++;
cap->counter++;
@ -449,7 +448,6 @@ AddRemaningHostPortOverridesCallback(const nsCertOverride &aSettings,
certdi->mHostWithPort = NS_ConvertUTF8toUTF16(aSettings.mHostWithPortUTF8);
certdi->mOverrideBits = aSettings.mOverrideBits;
certdi->mIsTemporary = aSettings.mIsTemporary;
NS_IF_ADDREF(certdi);
cap->array->InsertElementAt(cap->position, certdi);
cap->position++;
cap->counter++;