зеркало из https://github.com/mozilla/pjs.git
Fixing memory leak. Multiple object creations clobber static allocations. b=206480, r=kaie,sr=dbaron,a=asa
This commit is contained in:
Родитель
be10f09307
Коммит
cfe22ef6ed
|
@ -199,6 +199,9 @@ nsKeygenFormProcessor::Init()
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
nsAutoString str;
|
nsAutoString str;
|
||||||
|
|
||||||
|
if (SECKeySizeChoiceList[0].name != NULL)
|
||||||
|
return NS_OK;
|
||||||
|
|
||||||
// Get the key strings //
|
// Get the key strings //
|
||||||
nsCOMPtr<nsINSSComponent> nssComponent;
|
nsCOMPtr<nsINSSComponent> nssComponent;
|
||||||
nssComponent = do_GetService(kNSSComponentCID, &rv);
|
nssComponent = do_GetService(kNSSComponentCID, &rv);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче