summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjpierre%netscape.com <devnull@localhost>2002-08-07 03:36:46 +0000
committerjpierre%netscape.com <devnull@localhost>2002-08-07 03:36:46 +0000
commitccf71473780735f927e0eed9bb7bc55ebd9444a0 (patch)
tree52e09793f08f8759ef1d0bf642051c5300d2acd8
parent919f20e2ad19d958ed22df375ef9088e4011dbe8 (diff)
downloadnss-hg-ccf71473780735f927e0eed9bb7bc55ebd9444a0.tar.gz
Be consistent in memory allocations - use QuickZAlloc
-rw-r--r--security/nss/lib/util/quickder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/util/quickder.c b/security/nss/lib/util/quickder.c
index 4252080fe..38c42f5e9 100644
--- a/security/nss/lib/util/quickder.c
+++ b/security/nss/lib/util/quickder.c
@@ -536,7 +536,7 @@ static SECStatus DecodePointer(void* dest,
{
const SEC_ASN1Template* ptrTemplate =
SEC_ASN1GetSubtemplate (templateEntry, dest, PR_FALSE);
- void* subdata = PORT_ArenaZAlloc(pool->arena, ptrTemplate->size);
+ void* subdata = QuickZAlloc(pool, ptrTemplate->size);
*(void**)((char*)dest + templateEntry->offset) = subdata;
if (subdata)
{