diff options
author | NIIBE Yutaka <[email protected]> | 2017-03-07 01:19:40 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-03-07 01:19:40 +0000 |
commit | cc933a96f8e83bc66fb69ed33d9593acdd60c929 (patch) | |
tree | fda0d6af7bef8dc2794cac3917912b3c83f9c88e /scd/scdaemon.c | |
parent | tests: Harmonize temporary and socket directory handling. (diff) | |
download | gnupg-cc933a96f8e83bc66fb69ed33d9593acdd60c929.tar.gz gnupg-cc933a96f8e83bc66fb69ed33d9593acdd60c929.zip |
scd: Close THE_EVENT handle.
* scd/scdaemon.c (handle_connections): Close the handle.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/scdaemon.c')
-rw-r--r-- | scd/scdaemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 4b63c9b4d..13cf2e6e0 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); |