[svn] GnuPG - r4388 - trunk/sm
svn author marcus
cvs at cvs.gnupg.org
Thu Dec 21 01:40:44 CET 2006
Author: marcus
Date: 2006-12-21 01:40:44 +0100 (Thu, 21 Dec 2006)
New Revision: 4388
Modified:
trunk/sm/ChangeLog
trunk/sm/encrypt.c
trunk/sm/gpgsm.c
Log:
2006-12-21 Marcus Brinkmann <marcus at g10code.de>
* encrypt.c (encrypt_dek): Release S_CIPH.
Modified: trunk/sm/ChangeLog
===================================================================
--- trunk/sm/ChangeLog 2006-12-20 22:52:44 UTC (rev 4387)
+++ trunk/sm/ChangeLog 2006-12-21 00:40:44 UTC (rev 4388)
@@ -1,3 +1,7 @@
+2006-12-21 Marcus Brinkmann <marcus at g10code.de>
+
+ * encrypt.c (encrypt_dek): Release S_CIPH.
+
2006-12-20 Marcus Brinkmann <marcus at g10code.de>
* server.c (gpgsm_server): Release CTRL->server_local.
Modified: trunk/sm/encrypt.c
===================================================================
--- trunk/sm/encrypt.c 2006-12-20 22:52:44 UTC (rev 4387)
+++ trunk/sm/encrypt.c 2006-12-21 00:40:44 UTC (rev 4388)
@@ -223,6 +223,7 @@
}
len = gcry_sexp_sprint (s_ciph, GCRYSEXP_FMT_CANON, (char*)buf, len);
assert (len);
+ gcry_sexp_release (s_ciph);
*encval = buf;
return 0;
Modified: trunk/sm/gpgsm.c
===================================================================
--- trunk/sm/gpgsm.c 2006-12-20 22:52:44 UTC (rev 4387)
+++ trunk/sm/gpgsm.c 2006-12-21 00:40:44 UTC (rev 4388)
@@ -28,8 +28,8 @@
#include <ctype.h>
#include <unistd.h>
#include <fcntl.h>
+#include <mcheck.h>
-
#include "gpgsm.h"
#include <gcrypt.h>
#include <assuan.h> /* malloc hooks */
@@ -744,6 +744,7 @@
certlist_t signerlist = NULL;
int do_not_setup_keys = 0;
+ mtrace();
/* trap_unaligned ();*/
set_strusage (my_strusage);
More information about the Gnupg-commits
mailing list