зеркало из https://github.com/mozilla/pjs.git
Bug 401906, nsCertTreeDispInfo leaks, r=kengert, a=dsicore
This commit is contained in:
Родитель
8d5458ee5c
Коммит
2086c0c721
|
@ -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++;
|
||||
|
|
Загрузка…
Ссылка в новой задаче