summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/nss/nss/lib/certdb/polcyxtn.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/nss/nss/lib/certdb/polcyxtn.c')
-rw-r--r--chromium/third_party/nss/nss/lib/certdb/polcyxtn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/third_party/nss/nss/lib/certdb/polcyxtn.c b/chromium/third_party/nss/nss/lib/certdb/polcyxtn.c
index b958e5a2a3c..cef4783cea9 100644
--- a/chromium/third_party/nss/nss/lib/certdb/polcyxtn.c
+++ b/chromium/third_party/nss/nss/lib/certdb/polcyxtn.c
@@ -643,6 +643,9 @@ CERT_DecodeOidSequence(const SECItem *seqItem)
return(oidSeq);
loser:
+ if (arena) {
+ PORT_FreeArena(arena, PR_FALSE);
+ }
return(NULL);
}