summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexei.volkov.bugs%sun.com <devnull@localhost>2006-05-15 20:58:18 +0000
committeralexei.volkov.bugs%sun.com <devnull@localhost>2006-05-15 20:58:18 +0000
commitd9a279205c3406e7a92313956488f9d6a35e7078 (patch)
tree8919c7ca2a879252ff6b176fa5c58a1ca421bf42
parent4f745fc84fbf2c63c3200b599c3ceb9d8c57db90 (diff)
downloadnss-hg-d9a279205c3406e7a92313956488f9d6a35e7078.tar.gz
Patch contributed by jonsmirl@yahoo.com
[Bug 337154] Coverity 321, dead code in mozilla/security/nss/lib/pk11wrap/pk11cert.c. r=wtchang
-rw-r--r--security/nss/lib/pk11wrap/pk11cert.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/nss/lib/pk11wrap/pk11cert.c b/security/nss/lib/pk11wrap/pk11cert.c
index f4d6c9895..9d47fa9ef 100644
--- a/security/nss/lib/pk11wrap/pk11cert.c
+++ b/security/nss/lib/pk11wrap/pk11cert.c
@@ -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;
}