[Pkg-gnupg-commit] [gnupg2] 25/124: scd: Close THE_EVENT handle.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Apr 5 15:55:29 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 cc933a96f8e83bc66fb69ed33d9593acdd60c929
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Tue Mar 7 10:19:40 2017 +0900
scd: Close THE_EVENT handle.
* scd/scdaemon.c (handle_connections): Close the handle.
--
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
scd/scdaemon.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 4b63c9b..13cf2e6 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -1378,6 +1378,10 @@ handle_connections (int listen_fd)
}
}
+#ifdef HAVE_W32_SYSTEM
+ if (the_event != INVALID_HANDLE_VALUE)
+ CloseHandle (the_event);
+#endif
cleanup ();
log_info (_("%s %s stopped\n"), strusage(11), strusage(13));
npth_attr_destroy (&tattr);
--
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