1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

2006-12-21 Marcus Brinkmann <marcus@g10code.de>

* encrypt.c (encrypt_dek): Release S_CIPH.
This commit is contained in:
Marcus Brinkmann 2006-12-21 00:40:44 +00:00
parent c2c3b64905
commit a16deed61f
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-12-21 Marcus Brinkmann <marcus@g10code.de>
* encrypt.c (encrypt_dek): Release S_CIPH.
2006-12-20 Marcus Brinkmann <marcus@g10code.de>
* server.c (gpgsm_server): Release CTRL->server_local.

View File

@ -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;

View File

@ -28,7 +28,7 @@
#include <ctype.h>
#include <unistd.h>
#include <fcntl.h>
#include <mcheck.h>
#include "gpgsm.h"
#include <gcrypt.h>
@ -744,6 +744,7 @@ main ( int argc, char **argv)
certlist_t signerlist = NULL;
int do_not_setup_keys = 0;
mtrace();
/* trap_unaligned ();*/
set_strusage (my_strusage);