зеркало из https://github.com/mozilla/pjs.git
Fix bugzilla 268521 - C_CloseSession getting called after C_CloseAllSessions . r=relyea, nelsonb
This commit is contained in:
Родитель
dd6fbad309
Коммит
00d4055ea7
|
@ -413,14 +413,14 @@ PK11_ReferenceSlot(PK11SlotInfo *slot)
|
|||
void
|
||||
PK11_DestroySlot(PK11SlotInfo *slot)
|
||||
{
|
||||
/* first free up all the sessions on this slot */
|
||||
/* free up the cached keys and sessions */
|
||||
PK11_CleanKeyList(slot);
|
||||
|
||||
/* free up all the sessions on this slot */
|
||||
if (slot->functionList) {
|
||||
PK11_GETTAB(slot)->C_CloseAllSessions(slot->slotID);
|
||||
}
|
||||
|
||||
/* free up the cached keys and sessions */
|
||||
PK11_CleanKeyList(slot);
|
||||
|
||||
if (slot->mechanismList) {
|
||||
PORT_Free(slot->mechanismList);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче