diff options
author | jpierre%netscape.com <devnull@localhost> | 2002-08-07 03:36:46 +0000 |
---|---|---|
committer | jpierre%netscape.com <devnull@localhost> | 2002-08-07 03:36:46 +0000 |
commit | ccf71473780735f927e0eed9bb7bc55ebd9444a0 (patch) | |
tree | 52e09793f08f8759ef1d0bf642051c5300d2acd8 | |
parent | 919f20e2ad19d958ed22df375ef9088e4011dbe8 (diff) | |
download | nss-hg-ccf71473780735f927e0eed9bb7bc55ebd9444a0.tar.gz |
Be consistent in memory allocations - use QuickZAlloc
-rw-r--r-- | security/nss/lib/util/quickder.c | 2 |
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) { |