зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug 135334: free the internal key slot reference when we are done.
This commit is contained in:
Родитель
f1735f2327
Коммит
09578490e1
|
@ -286,6 +286,7 @@ initNSS(CGIVarTable *varTable)
|
|||
PK11_SetPasswordFunc(passwordCallback);
|
||||
keySlot = PK11_GetInternalKeySlot();
|
||||
rv = PK11_Authenticate(keySlot, PR_FALSE, varTable);
|
||||
PK11_FreeSlot(keySlot);
|
||||
if (rv != SECSuccess) {
|
||||
return AUTH_FAILED;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче