Fix error path, only free arena is one was allocated.
git-svn-id: svn://10.0.0.236/trunk@113662 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c9de0b7992
commit
c7a84be240
@ -4935,6 +4935,8 @@ PK11_GetPQGParamsFromPrivateKey(SECKEYPrivateKey *privKey)
|
||||
return params;
|
||||
|
||||
loser:
|
||||
PORT_FreeArena(arena,PR_FALSE);
|
||||
if (arena != NULL) {
|
||||
PORT_FreeArena(arena,PR_FALSE);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user