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

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

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 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
Index: nss/lib/pki/certificate.c
diff --git a/nss/lib/pki/certificate.c b/nss/lib/pki/certificate.c
index fdf147c9e3dd1bd4cb778d85cd0fb9a3467e11d8..b5d986abe16d92698241160cbbe25b5edf6bb2a2 100644
--- a/nss/lib/pki/certificate.c
+++ b/nss/lib/pki/certificate.c
@@ -1122,6 +1122,9 @@ nssCRL_Create (
&rvCRL->url,
&rvCRL->isKRL);
if (status != PR_SUCCESS) {
+ if (!arena) {
+ nssPKIObject_Destroy((nssPKIObject *)rvCRL);
+ }
return (NSSCRL *)NULL;
}
return rvCRL;
« no previous file with comments | « nss/lib/pkcs7/secmime.c ('k') | nss/lib/pki/pki3hack.c » ('j') | nss/lib/util/secoid.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698