1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-26 01:52:45 +02:00

Close message digest; fixes memory leak.

This commit is contained in:
Werner Koch 2008-12-11 17:00:52 +00:00
parent 0ad3411b07
commit 09176a79b9
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-12-11 Werner Koch <wk@g10code.com>
* sig-check.c (check_revocation_keys): Close message digest.
2008-12-09 Werner Koch <wk@g10code.com>
* keygen.c (proc_parameter_file): Check that key and subkey usages

View File

@ -427,6 +427,7 @@ check_revocation_keys(PKT_public_key *pk,PKT_signature *sig)
hash_public_key(md,pk);
rc=signature_check(sig,md);
cache_sig_result(sig,rc);
md_close (md);
break;
}
}