Patch contributed by jonsmirl@yahoo.com
[Bug 337154] Coverity 321, dead code in mozilla/security/nss/lib/pk11wrap/pk11cert.c. r=wtchang git-svn-id: svn://10.0.0.236/trunk@196596 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c1aacfb3fc
commit
a5a4d2f9a9
@ -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…
x
Reference in New Issue
Block a user