[svn] GnuPG - r4898 - branches/STABLE-BRANCH-1-4/g10

svn author wk cvs at cvs.gnupg.org
Thu Dec 11 18:00:52 CET 2008


Author: wk
Date: 2008-12-11 18:00:52 +0100 (Thu, 11 Dec 2008)
New Revision: 4898

Modified:
   branches/STABLE-BRANCH-1-4/g10/ChangeLog
   branches/STABLE-BRANCH-1-4/g10/sig-check.c
Log:
Close message digest; fixes memory leak.


Modified: branches/STABLE-BRANCH-1-4/g10/ChangeLog
===================================================================
--- branches/STABLE-BRANCH-1-4/g10/ChangeLog	2008-12-10 12:41:15 UTC (rev 4897)
+++ branches/STABLE-BRANCH-1-4/g10/ChangeLog	2008-12-11 17:00:52 UTC (rev 4898)
@@ -1,3 +1,7 @@
+2008-12-11  Werner Koch  <wk at g10code.com>
+
+	* sig-check.c (check_revocation_keys): Close message digest.
+
 2008-12-09  Werner Koch  <wk at g10code.com>
 
 	* keygen.c (proc_parameter_file): Check that key and subkey usages

Modified: branches/STABLE-BRANCH-1-4/g10/sig-check.c
===================================================================
--- branches/STABLE-BRANCH-1-4/g10/sig-check.c	2008-12-10 12:41:15 UTC (rev 4897)
+++ branches/STABLE-BRANCH-1-4/g10/sig-check.c	2008-12-11 17:00:52 UTC (rev 4898)
@@ -427,6 +427,7 @@
               hash_public_key(md,pk);
               rc=signature_check(sig,md);
 	      cache_sig_result(sig,rc);
+              md_close (md);
 	      break;
 	    }
 	}




More information about the Gnupg-commits mailing list