[Pkg-gnupg-commit] [gnupg2] 71/185: gpg: Close cached keydb handle in gpgv.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Aug 7 11:55:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit a68a98233ab83f0c7b90e6e588b882085fe59d91
Author: Justus Winter <justus at g10code.com>
Date:   Wed Jun 21 15:51:10 2017 +0200

    gpg: Close cached keydb handle in gpgv.
    
    * g10/gpgv.c (main): Close cached handle.
    
    Fixes-commit: 5556eca5acd46983bff0b38a1ffbc2f07fbaba9f
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 g10/gpgv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/g10/gpgv.c b/g10/gpgv.c
index ddbcd7d..fb274b3 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -270,6 +270,7 @@ main( int argc, char **argv )
   if ((rc = verify_signatures (ctrl, argc, argv)))
     log_error("verify signatures failed: %s\n", gpg_strerror (rc) );
 
+  keydb_release (ctrl->cached_getkey_kdb);
   xfree (ctrl);
 
   /* cleanup */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list