Fix double free of item value that is in an arena.

git-svn-id: svn://10.0.0.236/trunk@72457 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
thayes%netscape.com 2000-06-16 23:26:16 +00:00
parent 19762bc408
commit 3ee6c658db

View File

@ -277,7 +277,7 @@ PK11SDR_Decrypt(SECItem *data, SECItem *result, void *cx)
if (rv) goto loser;
loser:
SECITEM_ZfreeItem(&paddedResult, PR_FALSE);
/* SECITEM_ZfreeItem(&paddedResult, PR_FALSE); */
if (arena) PORT_FreeArena(arena, PR_TRUE);
if (ctx) PK11_DestroyContext(ctx, PR_TRUE);
if (key) PK11_FreeSymKey(key);