Skip to content

Commit

Permalink
Be consistent in memory allocations - use QuickZAlloc
Browse files Browse the repository at this point in the history
  • Loading branch information
jpierre%netscape.com committed Aug 7, 2002
1 parent 0fdbe46 commit 4607bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/nss/lib/util/quickder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4607bbf

Please sign in to comment.