Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Unified Diff: nss/lib/pki/tdcache.c

Issue 195763027: Update NSS to NSS_3_16_RC0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Use the RTM tag Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nss/lib/pk11wrap/pk11slot.c ('k') | nss/lib/softoken/ecdecode.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss/lib/pki/tdcache.c
===================================================================
--- nss/lib/pki/tdcache.c (revision 256695)
+++ nss/lib/pki/tdcache.c (working copy)
@@ -468,10 +468,10 @@
if (count > 0) {
cached = nss_ZNEWARRAY(NULL, NSSCertificate *, count + 1);
if (!cached) {
+ nssList_Destroy(certList);
return PR_FAILURE;
}
nssList_GetArray(certList, (void **)cached, count);
- nssList_Destroy(certList);
for (cp = cached; *cp; cp++) {
nssCryptokiObject *instance;
NSSCertificate *c = *cp;
@@ -490,6 +490,7 @@
}
nssCertificateArray_Destroy(cached);
}
+ nssList_Destroy(certList);
return PR_SUCCESS;
}
« no previous file with comments | « nss/lib/pk11wrap/pk11slot.c ('k') | nss/lib/softoken/ecdecode.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698