mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
2006-12-21 Marcus Brinkmann <marcus@g10code.de>
* encrypt.c (encrypt_dek): Release S_CIPH.
This commit is contained in:
parent
c2c3b64905
commit
a16deed61f
3 changed files with 7 additions and 1 deletions
|
@ -223,6 +223,7 @@ encrypt_dek (const DEK dek, ksba_cert_t cert, unsigned char **encval)
|
|||
}
|
||||
len = gcry_sexp_sprint (s_ciph, GCRYSEXP_FMT_CANON, (char*)buf, len);
|
||||
assert (len);
|
||||
gcry_sexp_release (s_ciph);
|
||||
|
||||
*encval = buf;
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue