mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Patch contributed by jonsmirl@yahoo.com
[Bug 337154] Coverity 321, dead code in mozilla/security/nss/lib/pk11wrap/pk11cert.c. r=wtchang
This commit is contained in:
parent
5e42ff25be
commit
5940997e85
@ -1339,7 +1339,6 @@ pk11_AllFindCertObjectByRecipient(PK11SlotInfo **slotPtr,
|
||||
/* get them all! */
|
||||
list = PK11_GetAllTokens(CKM_INVALID_MECHANISM,PR_FALSE,PR_TRUE,wincx);
|
||||
if (list == NULL) {
|
||||
if (list) PK11_FreeSlotList(list);
|
||||
return CK_INVALID_HANDLE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user