mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-06 11:21:49 +00:00
cov 10412: fix mem leak in encrypt_and_sign_nss()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2854 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
4ff33854ad
commit
7999995273
@ -518,6 +518,7 @@ static int encrypt_and_sign_nss (
|
||||
"PK11_CreateContext failed (encrypt) crypt_type=%d (err %d): %s\n",
|
||||
instance->totem_config->crypto_crypt_type,
|
||||
PR_GetError(), err);
|
||||
free(inbuf);
|
||||
return -1;
|
||||
}
|
||||
rv1 = PK11_CipherOp(enc_context, outdata,
|
||||
|
Loading…
Reference in New Issue
Block a user